[cairo] Spot colors (and CMYK)

Jon Cruz jon at joncruz.org
Wed Feb 17 03:08:50 PST 2010


On Feb 16, 2010, at 11:07 PM, Bill Spitzak wrote:

> I tend toward just "sRGB" because I think that should be obvious from 
> the floating point api. Nobody complains that the api is not 0-255, that 
> is obvious from it being floating point. The unclamped nature should be 
> just as obvious.

No, these two things are very much *not* obvious.

To your mind since you were thinking of them they might appear obvious, but to a large number of graphics API programmers they are *not* obvious. In fact, most people I've worked with will assume that there is some limit and most often will at least try to see what those limits are. Another good API to compare this aspect with is GEGL. This was also a point there: the need to convey the details of allowed values and not just assume it is obvious.


More information about the cairo mailing list