"Aaron Ardiri" <[EMAIL PROTECTED]> ??? news:[EMAIL PROTECTED] ???... > > > void > > > rotate(x,y,*_x,*_y,angle) > > > { > > > *x = ( cos(angle) * x) + (sin(angle) * y); > > > *y = (-sin(angle) * x) + (cos(angle) * y); > > > } > > > > I don't really understand the above algorithm > > 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? > > --- > 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/
