Re: What does viewBox really do? wrote:

> HOWEVER, neither Batik-1.1.1 nor Adobe 3.0 plugin viewers agree.


> <?xml version="1.0" ?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
>     "">
> <svg xmlns=""
>      viewBox="0 0 850 1100" height="11in" width="8.5in">
> <line stroke-width="10" stroke="yellow" x1="0" y1="20" x2="1in"    
> y2="20"/>
> <line stroke-width="10" stroke="orange" x1="0" y1="30" x2="100"    
> y2="30"/>
> <line stroke-width="10" stroke="green"  x1="0" y1="40" x2="100px" y2="40"/>
> </svg>

In Batik, the whole thing is placed more to the right, and the size 
changes with resizing of the window;
but with ASV, it's all the way to the left, and resizing does not change 
the size of the graphic.



Received on Sunday, 23 June 2002 16:58:56 UTC