[cairo] Conical gradients with pixman with rotation
marco.wertz at gmx.de
Wed Jun 16 03:26:01 PDT 2010
"Soeren Sandmann" <sandmann at daimi.au.dk> writes:
> There used to be a bug where pixman would miscalculate the
> angle. Maybe that's what you are seeing? That bug is fixed in 0.18.0.
I've now upgraded to 0.18.2 but I'm afraid the problem is still there. I'm not sure whether this is actually a bug or whether it is a feature :) I'm attaching a small example source code that shows what I mean. The 45 degree rotated conical gradient generated by my example looks like this:
But I think this look is wrong. Instead, 45 degree rotation should look like this: (generated in CorelDraw)
But I'm unable to achieve this look with the conical gradient functions in pixman. Is it really intended this way or is this a bug in pixman?
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2550 bytes
Desc: not available
More information about the cairo