How to rotate an image?

Discuss PocketC for CE (including Desktop Edition)

Postby stenci on Tue Dec 10, 2002 8:37 am

Is it possible to rotate an image?
With drawimage() it is possible to scale it, but it's impossible to rotate it.
stenci
 
Posts: 9
Joined: Wed Nov 06, 2002 3:40 pm
Location: Italy

Postby guy on Wed Dec 11, 2002 11:17 am

You should rotate it in a graphics editor and then use drawimage() on the rotated image.

If you need several real time rotated images then pre-create them and choose the appropriate one to draw.



Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum
Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum
guy
 
Posts: 879
Joined: Thu Dec 07, 2000 8:58 am
Location: United Kingdom


Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 0 guests

cron