On 2010-04-18, at 11:00 PM, Ken Ferry wrote: > Ah, so your problem is that not every CG blend mode is available as an > NSCompositingOperation? If you would, please file a quick bug mentioning that > you needed this. >
From the documentation: "The compositing operations are related to (but different from) the blend mode settings used in Quartz. " They are different, so I don't consider it a bug... > If you're running on 10.6, you can use -[NSImage > CGImageForProposedRect:context:hints:] to get a CGImage, then draw the > CGImage with your blend mode. I don't want to draw anything, I want an NSImage, and I'm not wildly enthusiastic about drawing everything in a dummy view and then peeling out an NSImage... Thanks, Izak --- Grinnikend door het leven... _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com