Jump to content

  • Log In with Google      Sign In   
  • Create Account

Direct_Draw


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 06 December 1999 - 07:14 AM

I need to use direct draw in order to blit a sprite to the screen. If the sprite has a white background like in MS Paint how can I use Direct Draw to blit it to the screen so the white background is transparent and the bacground of the form shows through?
thanx


Sponsor:

#2 Melo   Members   -  Reputation: 122

Like
Likes
Like

Posted 06 December 1999 - 07:14 AM

Simply define a Source-ColorKey in your DDBLTFX-Struct and use the DDBLT(FAST)_SRCCOLORKEY-Flag.

That's it.

Bye





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS