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

Re: Why a stroke on top of a fill?

From: Steve Schafer <steve@fenestra.com>
Date: Sat, 05 Jun 2010 13:50:46 -0400
To: www-svg@w3.org
Message-ID: <ti3l061c7lpq22o5nd77o2ab98pnve705b@4ax.com>
On Sat, 05 Jun 2010 10:15:17 +0200, you wrote:

>> 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?


>>     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?

I won't speculate on whether it's "right" or not, but it is the way it's
been done since time immemorial (that is, since the 1980's). I believe
it started with PostScript, and continued with the Windows GDI. It would
certainly cause confusion if SVG were to behave differently.

-Steve Schafer
Received on Saturday, 5 June 2010 17:52:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:26 UTC