Results 1 to 3 of 3

Thread: Transparent fill

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Croatia
    Posts
    200
    Hi!

    How can you create a transparent fill style using APIs only. I tried using the CreateBrushIndirect and CreateHatchBrush, but that didn't do much.

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    CreateBrushIndirect BS_HOLLOW 'BS_HOLLOW = 1
    FloodFill 0,0,0 'flood fills transparently until it meets a pure black (RGB 0,0,0) pixel
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Croatia
    Posts
    200

    Talking

    OK, Thnx Sastraxi!

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