File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / SVG / twin-gradients.xml
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:38:00 2012 UTC (12 years, 6 months ago) by misho
Branches: libxml2, MAIN
CVS tags: v2_9_1p0, v2_9_1, v2_8_0p0, v2_8_0, v2_7_8, HEAD
libxml2

    1: <?xml version="1.0" standalone="no"?>
    2: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" 
    3:   "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
    4: <svg width="4in" height="3in">
    5:   <desc>Gradients apply to leaf nodes
    6:   </desc>
    7:   <g>
    8:     <defs>
    9:       <lineargradient id="MyGradient">
   10:         <gradientstop offset="0%" color="#F60"/>
   11:         <gradientstop offset="70%" color="#FF6"/>
   12:       </lineargradient>
   13:     </defs>
   14:     <g style="fill: url(#MyGradient)">
   15:       <rect width="20" height="15.8"/>
   16:       <rect width="35" height="8"/>
   17:    </g>
   18:   </g>
   19: </svg>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>