[cairo] Path Gradients
Bill Spitzak
spitzak at thefoundry.co.uk
Tue Jan 22 15:47:39 PST 2008
> Bobby Salazar wrote:
>
>> However, there is one situation (that is my main interest in the path
>> gradient) that I cannot figure out how to map to these "Type 6"
>> gradient meshes. This situation is where you have a path, and you
>> want to make a gradient from an abitrary "center point" out to the
>> edges, with color stops along the way. Can you think of an easy way
>> to use a "Type 6" gradient mesh to reproduce the gradients seen in
>> these images:
>>
>> http://www.bobpowell.net/pgb.ht4.jpg
>> http://www.bobpowell.net/pgb.ht6.jpg
The coon mesh does not have to generate the color, instead it can
generate the index into the multi-stop gradient. This will produce the
given images.
More information about the cairo
mailing list