Results 1 to 3 of 3

Thread: Blitting with Maskcolor

  1. #1

    Thread Starter
    Addicted Member Vegeta's Avatar
    Join Date
    Jul 2002
    Posts
    159

    Question Blitting with Maskcolor

    Is there a function like BitBlt, where one specific color in the picture is not being blitted?
    thanks for help

  2. #2
    Software Eng. Megatron's Avatar
    Join Date
    Mar 1999
    Location
    Canada
    Posts
    11,286
    Try the TransparentBlt API. Be warned though -- I heard bad things about it.

  3. #3
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    It's much better to use bitblt a mask and then bitblt your picture onto the mask. TransparentBlt has a very bad memory leak (I tried to use it for my game and it ate up 90% of my resources in ten seconds!)


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width