Advertisement

"Silhouettes" with DirectDraw Blitter?

Started by January 27, 2000 09:08 PM
0 comments, last by Milkman 25 years, 1 month ago
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.
if there is a way i''ve never heard of it. doing it yourself is easy and fast enough though.
-werdup-

This topic is closed to new replies.

Advertisement