[cairo] Path Gradients

Bobby Salazar bobby8934 at inbox.com
Wed Jan 23 09:55:54 PST 2008


Yes, it does. However, I would like to scale it in only one direction. Not uniformly in both X and Y directions.

> -----Original Message-----
> From: milan at marusinec.sk
> Sent: Wed, 23 Jan 2008 18:49:32 +0000
> To: cairo at cairographics.org
> Subject: Re: [cairo] Path Gradients
> 
> Bobby Salazar wrote:
>> I think that this (with reflect turned off) is exactly what I'm looking
>> for! I really like the way it renders the glyph. In fact, it very nicely
>> solves a problem that using a single center point causes - which is that
>> the gradient along the edge is not the same width for non-uniform shapes
>> like a rectangle. Also, using your pre-compiled demo app, can you adjust
>> the scaling for the rendered image, or stretch it in any way? I would be
>> interested to see how the gradient is affected by transformations.
> 
> Easy - just resize the window and - it scales ... :-)
> 
> 
> 
> 
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list