Rotate PNG (Bitmap) around a set pivot

All your problems with Audio, Video and Images.

Rotate PNG (Bitmap) around a set pivot

Postby xspotlivin » Wed Mar 04, 2009 4:59 am

I'm creating an application that includes a clock. I will only have an hour hand, which will be a PNG file rotating around a pivot. I want to update its angle every 4 mins (1 degree on a 24-hour clock). Does anyone have an idea of how to rotate an image around a specific point? Thanks for your help. I've attached the PNG file I want to rotate.
Attachments
hourhand.png
hourhand.png (311 Bytes) Viewed 221 times
xspotlivin
Junior Developer
Junior Developer
 
Posts: 23
Joined: Thu Feb 26, 2009 8:15 am
Location: Cambridge, MA

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 10 guests