[cairo] Solid color pattern constructors
David Malcolm
dmalcolm at redhat.com
Tue Jun 28 13:53:36 PDT 2005
On Tue, 2005-06-28 at 15:45 -0400, Kristian Høgsberg wrote:
[snip]
> +
> +/**
> + * cairo_pattern_create_rgba:
> + * @red: red component of the color
> + * @green: green component of the color
> + * @blue: blue component of the color
> + * @alpha: alpha component of the color
> + *
> + * 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.
Not opaque if a is not 1 Perhaps should read:
"Create a new cairo_pattern_t corresponding to a solid color, either
opaque or translucent. The color and alpha components are floating
point numbers in the range 0 to 1. If the values passed in are outside
that range, they will be clamped."
More information about the cairo
mailing list