Jump to content
  • Advertisement


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


StretchDIBits Question

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

Hi, I''m trying to get StretchDIBits to clip part of an image and I''m having some trouble getting it working. Say if I have an image which is 320x240 and I want to display {100, 0, 120, 240} of that image and want to stretch it to double size so it will now take 40 pixels instead of 20. How can I do this using the StretchDIBits function. Thanks in advance

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!