Re: NSCompositeSourceOver equivalent in Quartz 2D?
Re: NSCompositeSourceOver equivalent in Quartz 2D?
- Subject: Re: NSCompositeSourceOver equivalent in Quartz 2D?
- From: David Duncan <email@hidden>
- Date: Mon, 14 Apr 2008 12:20:29 -0700
On Apr 13, 2008, at 1:43 PM, Carter R. Harrison wrote:
I'm trying to do some drawing in Quartz 2D. I'm trying to set the
blending mode of my CGContextRef to the equivalent of
NSCompositeSourceOver from NSGraphicsContext. It doesn't look like
there is such a blending mode for a CGContext. Am I mistaken in
this, or is there another way of accomplishing this? It seems funny
to me that this blending mode doesn't exist in Quartz given that
NSGraphicsContext should be a wrapper class around CGContextRef.
NSCompositeSourceOver is equivalent to kCGBlendModeNormal (which is
the default blend mode in a CGContext).
--
David Duncan
Apple DTS Animation and Printing
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden