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


From: Duncanson, Ian (Ex AS01) <IDuncans@honeywell.com.au>
Date: Thu, 14 Oct 1999 09:56:19 +1000
Message-ID: <F87F6B8C103CD311A8F500A0C944263B1FCEA0@HPACAS01004>
To: "'www-svg@w3.org'" <www-svg@w3.org>
I was just wondering how zooming functionality would be implemented for both
authoring tools and viewers of SVG files. The only mention I see in the Spec
is the allowZoomAndPan option.

Zooming could be achieved by modification of the coordinate system of the
top-level object, but this doen't implicitly affect other properties which
zoom, namely font-sizes, line widths etc. If you do tie your font-size (for
example) to the coordinate system, then your font-size will zoom when you
resize the element.

The other requirement that zooming imposes is use of floating point numbers
rather than integers for CSS and other positioning and sizing attributes.
Use of integers implies a loss of resolution if you zoom out then back in.

The other question that comes up in relation to zooming is what happens to

Received on Wednesday, 13 October 1999 20:01:51 UTC

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