W3C home > Mailing lists > Public > www-svg@w3.org > November 2004

SVGT1.2/gradients question

From: Gillette Christophe-W20796 <christophe.gillette@motorola.com>
Date: Mon, 8 Nov 2004 15:24:00 -0700
Message-ID: <5725AF6EE9FAD51195DC009027E37702120CAA0C@az33exm35.corp.mot.com>
To: www-svg@w3.org
Hi All,
 
I have a question regarding the chosen subset of the gradient functionality in SVGT1.2.
gradientTransform is no supported and I believe that the intent was to simplify the rendering of tranformed gradients. In the case of radial gradients, I suppose that SVGT engines will only be able to draw circular gradients but no elliptic ones. Am I correct?
 
If this is the case, what should be the radius of a gradient defined as follows (excerpt of pservers-grad-12-b.svg which is part of the test suite)?
 <radialGradient id="Grad1">
   <stop stop-color="blue"  offset="0"/>
   <stop stop-color="red"  offset="1"/>
</radialGradient>
<rect x="10" y="35" width="460" height="50" fill="url(#Grad1)" />
 
 
The new test suite may answer this question but for people who don't have access to it, the specification is not sufficient to understand what the working group intended to do.
 
Thank you and regards,
 
Christophe Gillette
Motorola Inc.
Received on Monday, 8 November 2004 22:24:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:52 UTC