Re: NSBezierPath compositing
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