I noticed that SVG does not seem to support midpoints for defining
gradient stops. It seems that defining a gradient natively in a vector
drawing package such as Adobe Illustrator, involves making use of a
combination of stops and midpoints. 

I did notice adobe seem to have added some non-standard extensions for
the adobe svg plugin, namely the following: -

        <a:midPointStop  offset="0" style="stop-color:#74BF44"/>
        <a:midPointStop  offset="0.8475" style="stop-color:#74BF44"/>
        <a:midPointStop  offset="1" style="stop-color:#026E3B"/>

which is much closer to how you would define a curved gradient in a
typical drawing application, this is equivalent to 7 stops, of which
due to the discrete samples you actually loose information about the
original gradient curve.

        <stop  offset="0" style="stop-color:#74BF44"/>
        <stop  offset="0.4162" style="stop-color:#71BC43"/>
        <stop  offset="0.5965" style="stop-color:#68B143"/>
        <stop  offset="0.7311" style="stop-color:#5AA442"/>
        <stop  offset="0.8432" style="stop-color:#459241"/>
        <stop  offset="0.9401" style="stop-color:#297D3E"/>
        <stop  offset="1" style="stop-color:#026E3B"/>

Does anyone know if provision will be included in SVG at some stage
for defining gradients as midpoint stops? Or as I suspect there is a
very good reason this is not being pursued.

Thanks in advance,

David.










-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to