PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

How to rotate a 2D Picture

E2DSurface* pImg;
I want to draw the Image with 45°
how to do it ?
RapchikProgrammer · 28 Sep 2009, 03:18 UTC
Use the BltFX method.. look in the reference doument for this function.. and the only thing to remember is that a full rotation is done at the value of '4096'.. its not in radians or degrees you can easily convert them to edgelib rotations tho.. as 360 degrees == 2*PI radians == 4096 in edgelib..