Re: How to create a CGColorSpaceRef with DeviceN model?

2011-02-28 Thread David Duncan
On Feb 24, 2011, at 1:23 AM, Graham Cox wrote:

 How do you create a CGColorSpaceRef using the DeviceN model? It appears as if 
 would allow spot colours to be specified, but I can't see how to create such 
 a colorspace.


I haven't tried this, but I think you have to provide your own DeviceN color 
profile to CGColorSpaceCreateICCBased(). Quartz will fall back to the alternate 
colorspace that you provide for drawing to the screen but I think the ICC data 
and colors should still make it into PDFs.

Again, I haven't tried this myself, this is simply my recollection from having 
investigated this pathway in the past.
--
David Duncan

___

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


How to create a CGColorSpaceRef with DeviceN model?

2011-02-24 Thread Graham Cox
Asking on behalf of someone else:

How do you create a CGColorSpaceRef using the DeviceN model? It appears as if 
would allow spot colours to be specified, but I can't see how to create such a 
colorspace.

--Graham


___

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