Re: howto fill a divided figure?

On Tuesday, August 31, 2004, 10:41:18 AM, Jonathan wrote:


JC> draw a figure, let's say a rectangle.
JC> divide it, let's say bisect it.
JC> now fill the 2 halves with complementary colours.

JC> seems simple, but is it?

JC> I can't seem to find a way to do what any 3 year old can....

If you watch a three year old draw a circle, they will go around
multiple times to make a big bold circle.

SVG can't do that, so it must be broken. However, it has stroke-width to
achieve the same effect.

JC> This would seem a pretty serious design flaw, as it isn't currently 
JC> possible to emulate a relatively simple and basic means of expression
JC> with any GUI tool.

Sure it is. The gui tool just generates the correct SVG. It would
involve multiple shapes, naturally - some stroked and some filled.

You should look for tools that have union, intersection, and other
constructive geometry features.


-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group

Received on Tuesday, 31 August 2004 10:36:38 UTC