[cairo] Path Gradients

MenTaLguY mental at rydia.net
Fri Jan 4 12:57:27 PST 2008


On Fri, 04 Jan 2008 14:54:43 -0500, Behdad Esfahbod <behdad at behdad.org> wrote:
> Can you elaborate?  We've been waiting for proposals around this area.
> If you are considering something in Inkscape, there's a great chance
> that we are interested to have it in cairo.

Well, very specifically I'm referring to Postscript Type 6 shadings, which
are fairly well-specified in the PLRM.  They are present in Adobe Illustrator
as "gradient meshes".

I do not like them much from a user-interface perspective, but they are
more or less a de-facto standard and the alternatives I have explored have
not turned out to be very useful.

The main thing is that a bit of care is required when they are used with
alpha; patches comprising a mesh cannot be individually rendered with
porter-duff compositing due to problems with seams which have already
been exhaustively discussed on this list, as well as certain other
rendering ambiguities which have not.

-mental



More information about the cairo mailing list