Can you flip an image x or y?

BlitzMax Forums/BlitzMax Beginners Area/Can you flip an image x or y?

Galdy(Posted 2014) [#1]
Is there a command to flip your image x or y? Can't seem to find one in the manual.


col(Posted 2014) [#2]
Hiya

Use -1 in the SetScale command?


Galdy(Posted 2014) [#3]
I see. Thats not mentioned in the manual. How would you scale and also flip it horizontally?


Kryzon(Posted 2014) [#4]
Any negative value will flip the image. You need to pick a scale, and negate that value.

If you want your image scaled down to half its size, and flipped only on the vertical axis for example, it would be SetScale( 0.5, -0.5 ).


Galdy(Posted 2014) [#5]
ok. Thanks Kry.