NSCompositeSourceOver equivalent in Quartz 2D?
NSCompositeSourceOver equivalent in Quartz 2D?
- Subject: NSCompositeSourceOver equivalent in Quartz 2D?
- From: "Carter R. Harrison" <email@hidden>
- Date: Sun, 13 Apr 2008 16:43:57 -0400
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.
Thanks in advance.
_______________________________________________
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