Hi Archie,

> On 7/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> [blah blah blah]
 
[EMAIL PROTECTED] wrote on 07/18/2007 10:19:31 AM:

> Is there a wiki page or something somewhere that describes all the 
> different transforms used by JSVGComponent?

   Not that I am aware of.

> I've seen rendering, viewing, viewbox, painting, etc... some of 
> which include others (?)

Coordinate Systems  |      Transforms
--------------------+-----------------------------
Screen pixels       |
                    |   Painting Transform
Offscreen buffer    |
                    |   Rendering Transform   -+
Initial SVG view          |                          +- Combined into 
ViewBox Transform
                    |   Viewing Transform     -+ 
Root <svg> local    |


> It would be nice to have it all explained somewhere... taking you 
> all the way from the SVG coordinate space to the actual screen pixels.

    There you go.

    The Viewing Transform is defined by the preserve aspect
ratio handling on the root SVG element (mapping viewBox to
the initial Canvas size).

    The Rendering Transform is adjustments to that initial
Viewing Transform due to the user panning/zooming/rotating.

    The Painting Transform is used to implement interactive
feedback for 'rendering transform' updates.  Like panning,
'live zoom' and the like.  Once the interactive operation
is completed it's added into the Rendering Transform.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to