Jump to content
  • Advertisement


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


Ask for 2D rotation

This topic is 6624 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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!