[cairo] Solid color pattern constructors

Øyvind Kolås islewind at gmail.com
Wed Jun 29 18:28:35 PDT 2005

On 6/28/05, Kristian Høgsberg <krh at bitplanet.net> wrote:
> + * Create a new cairo_pattern_t corresponding to a solid, opaque
> + * color.  The color components are floating point numbers in the
> + * range 0 to 1.  If the values passed in are outside that range, they
> + * will be clamped.

Maybe s/will/might/ - documenting that cairo does clamp values outside
the 0 to 1 range, might make transparently using cairo on arbitary
data in a floating point variation of pixman harder in the future.

/Øyvind K.

Software patents hinder progress | http://swpat.ffii.org/ 
Web :  http://pippin.gimp.org/

More information about the cairo mailing list