W3C home > Mailing lists > Public > www-svg@w3.org > June 2002

Re: What does viewBox really do?

From: <rbw@polyglotinc.com>
Date: Sun, 23 Jun 2002 14:20:31 -0400
Message-Id: <4.3.2.7.2.20020623140334.051ee6f0@pop.mindspring.com>
To: "J. David Eisenberg" <catcode@catcode.com>, Bruce Wallace <jobs@polyglotinc.com>
Cc: www-svg@w3.org

At 12:35 PM 6/23/2002 -0500, J. David Eisenberg wrote:
>Now let's look at the first line. Since the viewport width is 4 cm, you
>would figure that the line would go only one fourth the way across the
>rectangle, but it doesn't.
>
>That's because the viewport has already been established, and, according
>to the spec, the "1cm" is going to be translated to user units. One
>centimeter, given my screen resolution, is 37.8 user units. !!But these
>user units are now presumed to be in terms of the viewBox!!, and 37.8 out
>of 80 units is about halfway across, which is exactly what you see.

Is it just me, or does this tortured meaning of cm, inches, etc. depending
on where one uses them just begging for confusion?  I can't imagine any
scenario where the above mode of operation is more desired/intuitive than
simply making 1cm mean the same in both a <line> and an <svg> tag.

Oh great STD writer gods, what is the rationale behind this interpretation?
Received on Sunday, 23 June 2002 14:18:31 GMT

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