[cairo] API Shakeup: Making set_source consistent,
(renaming cairo_set_rgb_color and cairo_set_pattern,
eliminating cairo_set_alpha)
Carl Worth
cworth at cworth.org
Thu Apr 14 14:05:34 PDT 2005
On Wed, 13 Apr 2005 15:28:31 -0400, Carl Worth wrote:
> I'll add a test case to cairo/test to capture this and I'll make sure
> it's fixed before committing.
I neglected to mention that I've now added cairo/test/gradient-alpha.c.
On Thu, 14 Apr 2005 16:56:13 -0400, Carl Worth wrote:
> And I'm not really sure how to fix this. The interpolation as
> currently implemented, (which also does agree with the W3C SVG test
> suite), is quite intuitive. It allows gradients such as:
> opaque red -> transparent blue
>
> to have the desired effect.
And I just updated cairo/test/gradient-alpha.c to change color in
addition to changing alpha in order to demonstrate this problem.
-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050414/caa55644/attachment.pgp
More information about the cairo
mailing list