On Mon, 2004-07-12 at 21:20, Cameron McCormack wrote: > Are you asking whether the lengths in the path data can specify units? > If so, then the answer is no. The grammar at > http://www.w3.org/TR/SVG11/paths.html#PathDataBNF allows only plain > numbers. That's what I understood... What I'm asking, I guess, is if there's an way at all to indirectly dimension a path using absolute units like pt or mm or whatever. I would have expected something (at least) like this to yield two rectangles of equal sizes: <svg width="100pt" height="100pt" viewBox="0 0 100 100"> <rect x="25pt" y="25pt" width="50pt" height="25pt" fill="red"/> <path d="M25,50L75,50L75,75L25,75L25,50z" fill="blue"/> </svg> ..but if I remember correctly from my experiments, it does not seem to. Does this mean that, except perhaps for setting page dimensions, units like pt or mm are not usable in SVG? -mentalReceived on Wednesday, 14 July 2004 00:07:05 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:54:51 GMT