diff options
Diffstat (limited to 'docs/examples/svg/test/viewBox1.svg')
-rw-r--r-- | docs/examples/svg/test/viewBox1.svg | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/examples/svg/test/viewBox1.svg b/docs/examples/svg/test/viewBox1.svg deleted file mode 100644 index 6ee5ddd5e..000000000 --- a/docs/examples/svg/test/viewBox1.svg +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" standalone="yes"?> - -<svg:svg width="300px" height="200px" - viewBox="0 0 1500 1000" preserveAspectRatio="none" xmlns:svg="http://www.w3.org/2000/svg"> - <svg:title>ViewBox1</svg:title> - <svg:desc>Example ViewBox1 - uses the viewBox - attribute to automatically create an initial user coordinate - system which causes the graphic to scale to fit into the - viewport no matter what size the viewport is.</svg:desc> - <!-- This rectangle goes from (0,0) to (1500,1000) in user space. - Because of the viewBox attribute above, - the rectangle will end up filling the entire area - reserved for the SVG content. --> - <svg:rect x="0" y="0" width="1500" height="1000" style="fill:yellow" /> - <!-- A large, red triangle --> - <svg:path style="fill:red" d="M 750,100 L 250,900 L 1250,900 z"/> - <!-- A text string that spans most of the viewport --> - <svg:text x="100" y="600" style="font-size:180; font-family:Verdana"> - Stretch to fit - </svg:text> -</svg:svg> |