Flipping images
BlitzMax Forums/BlitzMax Beginners Area/Flipping images
| ||
Is there any built-in way to flip the direction of an image post loading? It appears that there is a command for rotation, but non for flipping vertically or horizontally? |
| ||
Use negative scale, like this:Graphics 800,600 Local MyImage:TImage=CreateImage(32,32) DrawText "test",0,0 Flip GrabImage(MyImage,0,0) Cls SetScale(-1,1.0) DrawImage(myimage,100,100) Flip WaitKey |