• 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
Re: NSBezierPath compositing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBezierPath compositing


  • Subject: Re: NSBezierPath compositing
  • From: Robert Clair <email@hidden>
  • Date: Wed, 9 Mar 2005 10:31:06 -0500

You can do it by making a mask with a second image:

Make a second image the same size as your original image.
Fill its rect with NSClearColor.
FIll your Bezier path with an opaque color.
Composite the second image on the the first using the appropriate operation (<x-tad-smaller>NSCompositeDestinationOut)


....Bob Clair</x-tad-smaller>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: problem when combining InstallEventHandler with TrackMouseLocationWithOptions
  • Next by Date: html and cocoa
  • Previous by thread: Re: NSBezierPath compositing
  • Next by thread: NSURLConnection not working beyond firewall
  • Index(es):
    • Date
    • Thread