Page 1 of 1
rotation

Posted:
May 22, 2003 @ 4:42pm
by maurice

Posted:
May 22, 2003 @ 4:47pm
by ppcStudios
Take a look in the GapiDraw forum on our website . I wrote a short tutorial on rotations for 1.04 a while back... it might help you some.

Posted:
May 22, 2003 @ 4:59pm
by Johan
maurice: Thanks.. I'll update the documentation... Clipping will always be done to the destination rectangle (due to the nature of the algorithm. The destination rectangle is always traversed in a cache-optimized way where pixels are read from source as needed)...
//Johan

Posted:
May 26, 2003 @ 9:25am
by Johan
The fastest is to use as small destination rectangle as possible. The rotation uses some fixed point approximations so 90 and 180 degree rotations will still be slightly rotated.