• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to highlight an image with transparency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to highlight an image with transparency


  • Subject: How to highlight an image with transparency
  • From: John Blackburn <email@hidden>
  • Date: Mon, 14 Jan 2002 12:25:12 -0800

What's the proper composite for highlighting an image which contains transparency? NSCompositePlusDarker seems the logical choice, but it draws black for transparent pixels in the image. I've tried all of the combinations of the composite modes I can think of, but none work exactly right. I just want to highlight arbitrarily-shaped image just as Finder does with icons.

Thanks,
John Blackburn


  • Follow-Ups:
    • Re: How to highlight an image with transparency
      • From: Andrew Platzer <email@hidden>
  • Prev by Date: Re: PB Lexical Analysis (function popup): How?
  • Next by Date: Re: Loading a custom view and its subviews from a nib
  • Previous by thread: Re: Objective-C (Possibly OT)
  • Next by thread: Re: How to highlight an image with transparency
  • Index(es):
    • Date
    • Thread