[cairo] RFC the idea of n-plane color support

Carl Worth cworth at cworth.org
Sat Oct 30 14:54:39 PDT 2004


On Sat, 30 Oct 2004 16:43:09 -0400, Ross McFarland wrote:
> it doesn't need to understand the color, as it doesn't now.

But it does now. The color values provided by the user are sRGB. That's
what allows various backends to be used.

>                                                             it just
> needs the ability to pass it along any type of color as an essentially
> opaque object. core cairo doesn't know anything about color and
> shouldn't, only the backends and apps do.

An opaque color type would only make sense for one specific
backend. That breaks the design of cairo, and would also break the
implementation as almost all the backends end up using the image backend
as a fallback for certain operations.

-Carl



More information about the cairo mailing list