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

Re: [svg-developers] Re: donuts

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Tue, 30 Jan 2001 05:46:24 -0800
Message-Id: <4.2.2.20010130054452.01bd2960@mailsj.corp.adobe.com>
To: Tobias Reif <tobiasreif@yahoo.com>
Cc: svg-developers@yahoogroups.com, www-svg@w3.org
Tobi,
I think you have done a good job responding to these queries.

Having basic shapes participate in compound paths (i.e., donuts) is on the 
list for consideration for a future version of SVG.

Jon Ferraiolo
SVG Editor
jferraio@adobe.com

At 12:59 AM 1/30/01 -0800, Tobias Reif wrote:
>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 10:11:51 GMT

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