• 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: NSCompositeSourceOver equivalent in Quartz 2D?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSCompositeSourceOver equivalent in Quartz 2D? (From: "Carter R. Harrison" <email@hidden>)

  • Prev by Date: Re: Running a "Choose Template" Sheet
  • Next by Date: Re: Basic Core Animation question
  • Previous by thread: NSCompositeSourceOver equivalent in Quartz 2D?
  • Next by thread: Mulitple Bindings and refreshing tables
  • Index(es):
    • Date
    • Thread