Jump to content
  • Advertisement


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


Scaling a surface with a keycolor

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

Maybe this is not the way to do this but here is my problem. I want to scale an image that has a keycolor but if I scale it by changing the destination rect size then it is easly scaled but the problem is that some of the color from the keycolor will show a little. My idea was to blt to a temp surface at normal size then blit that surface that contains no keycolor to the destination surface which is scaled. Is there a diffrent way to do this? none the less I need to know if it can be done and how. Thanks [edited by - drastick on November 6, 2002 10:43:09 AM]

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!