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

Jost Boekemeier jost2345 at yahoo.de
Mon Jun 21 08:09:20 PDT 2004


On Mon, 2004-06-21 at 02:51, Ross McFarland wrote:

> attached is a patch that changes the color path in cairo allowing
> arbitrary data to be passed through.

I am not a cairo expert, but assuming you want to pass the device
specific color (such as CMYK) wouldn't be 

  cairo_set_device_color() 

be a more appropriate name?


+cairo_status_t
+_cairo_pattern_get_n (cairo_pattern_t *pattern,
+		      double * planes, int * nplanes)

Why is the color linked to a pattern?


Jost





More information about the cairo mailing list