Hello!
I have some troubles trying to rotate WarpImage object.
I try to rotate the image on 1 degree steps, but it rotates only once at 90 degrees and stops any further rotations.
I use timer to increment angle value by 1 degree per second and to test rotation - angle is a global variable.
Here is my code:
sender; /* the method is called from the sender object */
var point destPos = Bounds.orect.center;
if(angle<-90)
angle--;
else
angle=0;
var float scale=1.0;
maskBLImg.RotateAndScale( destPos, angle, scale, scale );
Would you please help!
Thank you!