[cairo] [RFC] Color space API (partial proposal)
Jon Cruz
jon at joncruz.org
Mon Feb 22 20:49:24 PST 2010
On Feb 22, 2010, at 1:53 PM, Bill Spitzak wrote:
> I do not think cairo_color_t is necessary, just the cairo_color_space_t. I would prefer to set colors with an api like this:
>
> cairo_set_source_color(cairo_t*, cairo_color_space_t*, void* data)
>
Again, untyped raw pointers are generally a poor software engineering solution. If it could be constrained at least a little the using code will be much more robust.
More information about the cairo
mailing list