W3C home > Mailing lists > Public > www-svg@w3.org > October 2003

Re: 1.2 organizing multiple pages

From: Dean Jackson <dean@w3.org>
Date: Tue, 7 Oct 2003 01:51:11 +1000
To: Philippe Converset <pconverset@Qarbon.com>
Cc: www-svg@w3.org
Message-ID: <20031006155111.GL6869@grorg.org>

Philippe,

On Mon 01 Sep 2003, Philippe Converset wrote:

> SVG 1.2 introduces multiple pages which truly fills a gap in the
> animation domain.
> It could be interesting to extend this feature a little bit in order to
> allow pages to be organized as chapters. This way a cartoon could be
> seen as a set of scenes contained in several chapters. If the user agent
> provides a method for choosing which page is the current page, having
> chapters with optional names will give a much easier way to navigate
> between scenes.

We had really long discussions about this, but in the end
decided that for SVG 1.2 it would be best to start with a simple
flat model for pages (no nesting). Yes, this potentially means
some extra overhead for the book/chapter/page scenario, but
not a great deal. The benefit is a simple processing model, which
definitely helps implementations. For example, if they are
displaying on screen, then they can cache one offscreen for
the page background, rather than many (+ extra compositing).

Sorry! It will be examined again during SVG 2.

Of course, like all things, feel free to disagree. It
would be good to hear more opinions. We'll listen.

Dean


> 
> Here is a short sample of how organized multiple pages could look:
> 
> <pageSet>
>     <g>
>         <title>Introduction</title>
>         <page><!-- graphics for page 1 go here --></page>
>     </g>
>     <g>
>         <title>Chapter 1</title>
>         <page><!-- graphics for page 2 go here --></page>
>         <page><!-- graphics for page 3 go here --></page>
>     </g>
>     <g>
>         <title>Chapter 2</title>
>         <page><!-- graphics for page 4 go here --></page>
>         <page><!-- graphics for page 5 go here --></page>
>         <page><!-- graphics for page 6 go here --></page>
>     </g>
>     <g>
>         <title>Credits</title>
>         <page><!-- graphics for page 7 go here --></page>
>     </g>
> </pageSet>
> 
> Actually, the use of a group element should not be limited to one level.
> Nested groups should be allowed as in this other sample:
> 
> <pageSet>
>     <g>
>         <title>Chapter 1</title>
>         <g>
>             <title>part 1</title>
>             <page><!-- graphics for page 1 go here --></page>
>             <page><!-- graphics for page 2 go here --></page>
>         </g>
>         <g>
>             <title>part 2</title>
>             <page><!-- graphics for page 3 go here --></page>
>         </g>
>     </g>
> </pageSet>
> 
> The group element might not be the best tag to use for this purpose as
> graphic elements could then be mixed on the same level with page
> elements. However it might be interesting to have some feedback from the
> W3C Working group and from SVG developers on this matter.
> 
> Philippe Converset
> 
Received on Monday, 6 October 2003 11:51:15 GMT

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