surfer97301
08-07-2004, 03:56 PM
Okay so I think I have my previous problem figured out but I am confused with one aspect of <svg width="100%" height="100%" viewport = "0 0 100 100">
I would think this would tell svg that I want the whole screen to be my canvas, so this means that 0,0 = 0,0 and 100,100 on a 1024x768 display means 1024,768 but when I look at the rendering my background which is
<rect fill="grey" stroke="#000000" stroke-width="0" x="0" y="0" width="100" height="100"/>
It is rendered as having an equally sized width and height where as it should be a rectangle with coordinates 0,0 to 1024,768.
What am I missing?
I would think this would tell svg that I want the whole screen to be my canvas, so this means that 0,0 = 0,0 and 100,100 on a 1024x768 display means 1024,768 but when I look at the rendering my background which is
<rect fill="grey" stroke="#000000" stroke-width="0" x="0" y="0" width="100" height="100"/>
It is rendered as having an equally sized width and height where as it should be a rectangle with coordinates 0,0 to 1024,768.
What am I missing?