Jump to content
  • Advertisement


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


DirectDraw Bitmap Clipping

This topic is 6701 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 have a problem with CDX version 1.99a. I am trying to display a 200x10 CDXSprite at a position where it is chopped off the side of the screen using the DrawClipped function. However, the function returns a DDERR_INVALIDPARAMS error. Below is the code in question: j = -190; do { red->SetPos(j, 250); Screen->GetBack()->Fill(0); red->DrawClipped(Screen->GetBack(), &Window); Screen->Flip(); j=j+2; } while (j<220); FYI, "red" is a CDXSprite and "Window" is a RECT containing [0, 0, 640, 480]. Can you please help me out? Edited by - mmarvi on 7/16/00 12:59:23 PM

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!