[cairo] Spot colors (and CMYK)

Jon Cruz jon at joncruz.org
Wed Feb 17 17:56:38 PST 2010


On Feb 17, 2010, at 1:56 PM, M Joonas Pihlaja wrote:

> On Wed, 17 Feb 2010, ecir hana wrote:
> 
>> or even better:
>> 
>> cairo_set_source_native_channels(cairo_t *cr, ...);
>> 
>> No?
> 
> No.  Varargs are the bane of any language binding.

And I go as far as to say that for most any other uses varargs are quite evil and far to often wander off into bug-land. Most often this is due to varargs being used in place of taking the time to understand a whole problem and architecting a proper solution. There are exceptions, of course, but those really need to be well thought out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20100217/eab5631f/attachment.html 


More information about the cairo mailing list