W3C home > Mailing lists > Public > www-svg@w3.org > June 2010

About shapes with translucent borders

From: Juan Vuletich <juan@jvuletich.org>
Date: Sat, 05 Jun 2010 15:11:08 -0300
Message-ID: <4C0A933C.1090209@jvuletich.org>
To: www-svg@w3.org
Hi Folks,

All SVG renderes draw shapes by drawing first the fill, and then drawing 
the border on top. At 
http://dev.w3.org/SVG/modules/vectoreffects/master/SVGVectorEffectsPrimer.html 
and http://www.w3.org/TR/SVGTiny12/render.html#PaintingShapesAndText , 
it is clear that the standard requests to do that.

I didn't know that, and took the time to render this svg: 
http://www.jvuletich.org/Morphic3/rects.svg like this: 
http://www.jvuletich.org/Morphic3/rectsInM3.png . It is a bit more 
complicated, but I feel it is better.

What do you think? Should I simplify my code and just draw one over the 
other? Or should the standard be changed, and SVG renderers do what I did?

Thanks,
Juan Vuletich
Received on Saturday, 5 June 2010 20:06:11 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:45 GMT