diff options
author | Qt by Nokia <qt-info@nokia.com> | 2011-04-27 12:05:43 +0200 |
---|---|---|
committer | axis <qt-info@nokia.com> | 2011-04-27 12:05:43 +0200 |
commit | 38be0d13830efd2d98281c645c3a60afe05ffece (patch) | |
tree | 6ea73f3ec77f7d153333779883e8120f82820abe /tests/arthur/data/1.2/07_12.svg |
Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:
http://qt.gitorious.org/qt/pages/GitIntroductionWithQt
If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.
Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
Diffstat (limited to 'tests/arthur/data/1.2/07_12.svg')
-rw-r--r-- | tests/arthur/data/1.2/07_12.svg | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/arthur/data/1.2/07_12.svg b/tests/arthur/data/1.2/07_12.svg new file mode 100644 index 0000000000..bf372ccd04 --- /dev/null +++ b/tests/arthur/data/1.2/07_12.svg @@ -0,0 +1,21 @@ +<?xml version="1.0"?> +<svg width="300px" height="200px" version="1.2" baseProfile="tiny" + viewBox="0 0 1500 1000" preserveAspectRatio="none" + xmlns="http://www.w3.org/2000/svg"> + <desc>Example ViewBox - 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.</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. --> + <rect x="0" y="0" width="1500" height="1000" + fill="yellow" stroke="blue" stroke-width="12" /> + <!-- A large, red triangle --> + <path fill="red" d="M 750,100 L 250,900 L 1250,900 z"/> + <!-- A text string that spans most of the viewport --> + <text x="100" y="600" font-size="200" font-family="Verdana" > + Stretch to fit + </text> +</svg> |