[cairo] Implementation of conical gradients

Carlos López González genetita at gmail.com
Mon Oct 15 23:32:03 PDT 2012


Hi,
Reading the source code of pixman I've found that it exists the
implementation of the conical gradient.

http://cgit.freedesktop.org/pixman/tree/pixman/pixman-conical-gradient.c

There is not such type of pattern in the Cairo API so for my needs I
had to use mesh gradients to emulate a conical gradient.
It would simplify a lot to have native support of the conical
gradients in Cairo API, though.

Would it be implemented in future versions?
Kind regards
-- 
Carlos
http://synfig.org


More information about the cairo mailing list