W3C home > Mailing lists > Public > www-svg@w3.org > May 2002

fill-rule problem ..

From: Goessner / MecXpert <goessner@mecxpert.de>
Date: Wed, 1 May 2002 12:48:29 +0200
Message-ID: <000e01c1f0fd$bbdd5000$fe78a8c0@alpha>
To: <www-svg@w3.org>
i have a simple square with two quadratic bezier segments in it. it is easy
to define this by a single path element.

<svg>
  <path transform="translate(20,20)" stroke-width="2" stroke="blue"
fill="lightgray"
        d="M0,0 H100 V100 H0 Z M10,50 Q30,30 50,50 T90,50" />
</svg>

but i cannot find a fill-rule to completely fill the square. even the new
winding-count rule wouldn't work.

--
stefan goessner
Received on Wednesday, 1 May 2002 06:44:00 GMT

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