W3C home > Mailing lists > Public > public-html@w3.org > October 2007

Radial gradients in <canvas>

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 26 Oct 2007 13:21:03 +0200
To: "HTML WG" <public-html@w3.org>
Message-ID: <op.t0sxtdsi64w2qv@annevk-t60.oslo.opera.com>

Hi,

We don't like the algorithm given for radial gradients. We think it would  
be better if it was more like in SVG. To quote from an internal  
discussion: "IMO having an inner circle that goes outside the outer circle  
is a bug in the script and I would prefer to just throw an error if that  
happens. That would probably make it a lot easier to for everyone to have  
a conforming implementation. In svg they have a focus point instead of  
inner circle, and if the focus point is outside the outer circle it is  
moved to the edge of the outer circle. That is something that makes a lot  
more sense to me." Keeping them the same also enables code sharing which  
seems like a good thing.

Kind regards,


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 26 October 2007 11:21:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:08 GMT