Re: Spotcolors in Cocoa
Re: Spotcolors in Cocoa
- Subject: Re: Spotcolors in Cocoa
- From: Kyle Sluder <email@hidden>
- Date: Wed, 23 Feb 2011 00:50:05 -0800
On Tue, Feb 22, 2011 at 10:27 AM, Kristof Vanhaesebrouck
<email@hidden> wrote:
> Hi all,
>
> I'm working on an application which has to generate PDF's with spot colors.
> I have been experimenting with Cocoa and NSColor but can't seem to find how to create a spot color in Cocoa.
> Does anyone know how to do this?
Off the top of my head: Subclass NSColor. Keep your subclass within
whatever color space the spot colors are defined, so that they can be
converted to that color space for onscreen drawing. You can put
instances of your color subclasses in an NSColorList for the user to
pick from, and even write a custom color picker if you want.
--Kyle Sluder
_______________________________________________
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