diff options
| author | Aron Xu <aron@debian.org> | 2012-09-18 01:15:22 +0800 |
|---|---|---|
| committer | Aron Xu <aron@debian.org> | 2012-09-18 01:15:22 +0800 |
| commit | f660f9d2924c7549bc87e7f9b4ece7c9727b3682 (patch) | |
| tree | 816b3ef0e89d1601803b5dc1b90b50ade0567043 /test/SVG/gradient.xml | |
| parent | d7372d053bbd1d58216fbb04d1771ffa4cc3e624 (diff) | |
| download | libxml2-upstream/2.9.0.tar.gz | |
Imported Upstream version 2.9.0upstream/2.9.0
Diffstat (limited to 'test/SVG/gradient.xml')
| -rwxr-xr-x | test/SVG/gradient.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/SVG/gradient.xml b/test/SVG/gradient.xml new file mode 100755 index 0000000..328d5e8 --- /dev/null +++ b/test/SVG/gradient.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <desc>Gradient example
+ </desc>
+ <g>
+ <defs>
+ <lineargradient id="MyGradient">
+ <!-- Define linear gradient here -->
+ <gradientstop offset="0%" color="#F60"/>
+ <gradientstop offset="70%" color="#FF6"/>
+ </lineargradient>
+ </defs>
+ <rect style="fill: url(#MyGradient)" width="20" height="15.8"/>
+ </g>
+</svg>
|
