W3C home > Mailing lists > Public > www-svg@w3.org > January 2001

Re: [svg-developers] Re: donuts

From: Tobias Reif <tobiasreif@yahoo.com>
Date: Tue, 30 Jan 2001 00:59:45 -0800 (PST)
Message-ID: <20010130085945.13435.qmail@web4805.mail.yahoo.com>
To: svg-developers@yahoogroups.com
Cc: www-svg@w3.org
Hi Peter,

thank you very much for your reply.

Chris and Jon: what are your takes on the following?

> What are you trying to do is impossible to do with
> basic shapes, because SVG does not have knock-out
> groups (unless you want to write your filter
> effect).

I know.
1)
Here's my problem:
If I animate something, and need to use path-tags, it
gets *very* comlicated and difficult; even with an
authoring tool that supports animation it will be
difficult to work in the source to correct values or
describe thing the tool doesn't support.
So I'm thankful for basic-shape-tags, and will use
them whereever possible, for static and animated
objects.
They're easier to animate and easier to be changed:
double the width of a rectangle?... just double the
value of "width".
But what if those basic shapes happen to have
basically shaped holes in them? (which isn't anything
extravagant)
Then I currently need to use paths, and it get's
complex and difficult again.
2)
... and here is my suggestion for a solution (SVG2 ?):
If I need a basic shape, I have the options of
describing it with a path-tag *or* a basic-shape-tag.
If the shape has a hole in it, I should have this
option too.
A donut can be described with paths by coding a
coumpound-path: a path with a smaller path inside.

So for describing a basically shaped donut, I suggest
the following syntax:

One basic shape encloses other basic shapes that are
smaller and inside the big one.

&lt;rect ...>
   &lt;circle .../>
&lt;/rect>

not escaped:
<rect ...>
    <rect .../>
</rect>

Tobi

=====
Tobias Reif  http://www.pinkjuice.com/svg/  http://www.pinkjuice.com/
       _/  /      
     /    /    _   /   _  /   _  /  /   /   _  /   _  /   _  /
     _/  /    /   /  /   /  /   /  /   /  /   /  /   /  /   /
   /   _ _/ _ _ _/   _ _/   _ _/ _ _  /   _ _/   _ _/   _ _/
 _/                /      /     _ _ _/  /             /

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/
Received on Tuesday, 30 January 2001 03:59:48 GMT

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