Page 1 of 1

How to rotate a 2D Picture

PostPosted: Sep 27, 2009 @ 8:43am
by myzalbnr
E2DSurface* pImg;
I want to draw the Image with 45°
how to do it ?

PostPosted: Sep 28, 2009 @ 4:18am
by RapchikProgrammer
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..