> > sorry, that should have read: > > > > > *_x = ( cos(angle) * x) + (sin(angle) * y); > > > *_y = (-sin(angle) * x) + (cos(angle) * y); > > > > new co-ordinates = value based on old co-ordinates > > the orginial XY system changes to the new X'Y' system, however, if I draw > the texts, they should appear as horizontal no matter as XY or X'Y' system, > so how can I display the texts with slope in the orginial XY system?
simple: step #1 - draw text to *normal* buffer, using WinDrawChars() step #2 - apply rotation of the *normal* buffer, using rotation matrix step #3 - copy (using invert/overlay) the rotated buffer to the display thats about all the help i'll give you - you can figure out the rest :) also, you might also want to consider doing something like the following screen shots (works nice, and, doesn't require much) http://www.ardiri.com/palm/citikey/map3.gif http://www.ardiri.com/palm/citikey/map4.gif damn.. that code is so old *g* - long were the days of hacking grayscale on old 16Mhz devices *g* --- Aaron Ardiri [EMAIL PROTECTED] http://www.mobilewizardry.com/members/aaron_ardiri.php [profile] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
