This site is no longer active and is available for archival purposes only. Registration and login is disabled.

rotation


rotation

Postby maurice » May 22, 2003 @ 4:42pm

maurice
pm Member
 
Posts: 37
Joined: Feb 26, 2003 @ 9:08pm
Location: Rotterdam


Postby ppcStudios » May 22, 2003 @ 4:47pm

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.
G.R. Moore
President/CEO
Pocket PC Studios
www.ppcstudios.com

Image
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


Postby Johan » May 22, 2003 @ 4:59pm

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
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Johan » May 26, 2003 @ 9:25am

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.
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron