Re: NSGraphicsContext deviceDescription
Re: NSGraphicsContext deviceDescription
- Subject: Re: NSGraphicsContext deviceDescription
- From: David Duncan <email@hidden>
- Date: Thu, 5 Nov 2009 10:17:21 -0800
On Nov 5, 2009, at 10:10 AM, Alexander Cohen wrote:
Is it possible to get a deviceDescription from a NSGraphicsContext
just like i can for a screen or even a printer? My goal is to be
able to get either the NSColorSPace or the CGColorSpace associated
with where i am drawing to. If the NSGraphicsCOntext is drawing to
screen, its a bit easier because of the NSScreen class, but i have
not found a way to know the colorSpace when drawing to a printer.
What are you trying to do? When printing by default the color space
isn't known until long after you've provided your content.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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