Archived

This topic is now archived and is closed to further replies.

Ask for 2D rotation

This topic is 6345 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to write a drawwing software How i can rotate a bitmap in a fast way? Help ! Help !! I am a game programming fan in china

Share this post


Link to post
Share on other sites
There are various methods of doing so... but you have to specify what you want more precisely. You should probably look on the internet for an solution to this problem... the only solution that I can give is:

Rotate every pixel in the bitmap by the specified angle and then plot it again... after doing so use a filter to fill in the gaps of the bmp with data from the surrounding pixels

Hope this helps, Dark

Share this post


Link to post
Share on other sites