That particular oddity has annoyed me a few times. I for one like your way
much better, Juan. But I guess I'd be in favour of sticking with the
standards if the standards people have no room for movement. Usually safest
;-)
There's a related oddity in Inkscape's rendering (and probably the
standards), the fact that the border is drawn so that it overlaps the fill
rather than surrounding it. To be honest, the idea of the stroke surrounding
the fill (non-overlapping) makes a lot more intuitive sense to me,
especially when you've got thick and/or translucent strokes like Juan's
example.
Is somebody able to explain why the overlapping method is used, either for
intuitive reasons or technical reasons? Or is it just an arbitrary choice by
those who write the standards?
- Bryan
--
PS. Check out the Brush newsletter: *Subscribe or read our previous
newsletters*
http://brush.co.nz/articles
Bryan Hoyt, *Web Development Manager* -- Brush Technology
*Ph:* +64 3 942 7833 *Mobile:* +64 21 238 7955
*Web:* brush.co.nz
On Sat, Jun 5, 2010 at 01:48, Juan Vuletich <juan@...2357...> wrote:
> Hi Folks,
>
> Inkscape and other SVG renderes draw shapes by drawing first the fill,
> and then drawing the border on top. As Ivan noted recently (in ""), at
>
>
http://dev.w3.org/SVG/modules/vectoreffects/master/SVGVectorEffectsPrimer.ht...
> 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 Inkscape and other
> renderers do what I did?
>
> Thanks,
> Juan Vuletich
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
>
http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Inkscape-devel mailing list
> Inkscape-devel@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>