• Advertisement

Archived

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

"Silhouettes" with DirectDraw Blitter?

This topic is 6565 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 was just wondering if it were possible to do a silhouette of a sprite with the DirectDraw Blitter? By silhouette, I mean having the non-transparent pixels of a surface all be drawn in one color, rather than the color of the original surface. I thought that I would be able to do this by combining the color fill blt flag with the key source blt flag. Unfortunately, passing a source surface to a color fill blt always seems returns an invalid parameter error message. Is it possible to do this, and I''m doing something wrong? Or should I just write my own code to do this? Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
if there is a way i''ve never heard of it. doing it yourself is easy and fast enough though.

Share this post


Link to post
Share on other sites

  • Advertisement