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

Re: Coordinate systems in 1.1/1.2

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Mon, 25 Nov 2002 09:03:50 -0500
Message-Id: <p04330101ba07dd85b18b@[]>
To: www-svg@w3.org

At 1:54 PM +0100 11/25/02, Tobias Reif wrote:

>That would be awesome.
>But wouldn't that require calibration?

At some level, yes. However, not any more than SVG already requires. 
In some contexts the renderer can ask the user to tell it how big an 
inch is. (Mozilla does this, at least for regular layout. I'm not 
sure about for SVG.) In others there may be an API call that tells 
you how many pixels are in an inch. Still, you can take a pretty good 
guess already. Just pick 90 dpi if you don't know any better. 
Remember, SVG already allows lengths in inches and centimeters and so 
forth. So this doesn't add anything to what an SVG renderer already 
has to do.

| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
Received on Monday, 25 November 2002 09:28:22 UTC

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