W3C home > Mailing lists > Public > www-svg@w3.org > September 1999

Re: Comments

From: Chris Lilley <chris@w3.org>
Date: Thu, 30 Sep 1999 03:24:33 +0200
Message-ID: <37F2BBD1.3736B48C@w3.org>
To: Paul Topping <PaulT@mathtype.com>
CC: "Hundiak, Arthur" <ahundiak@ingr.com>, www-svg@w3.org, svg-comments@w3.org

Paul Topping wrote:
> CAD systems often want groups to contain objects from several layers. A
> "geometry" layer might contain objects that form the boundary of a
> mechanical part and a "dimensioning" layer might contain the arrows,
> dimensions, and annotations applied to the part. Groups would be used to
> group the geometry of sub-parts; one for "bracket A", another for
> "subassembly B", for example.
> If SVG allows an object to be a member of more than one group, one can do
> this.

For that sort of structure, which cuts across hierarchical grouping, we
need the notion of set membership. thew class attribute is ideal for
this, since it is a space separated set of things. For example:

  g class="a"
    circle class="a"
    rect class="b c"
    path class="a"
    path class="c"

.a visibility: invisible
.b visibility: visible

If desired, the opacity property can be used to make semi-transparent
layers (eg, underlays).

Received on Wednesday, 29 September 1999 21:24:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:46 UTC