Generating Slanted Venetian Gradient Patterns

   



Key Constructs

An SVG pattern can be defined with the following SVG snippet:

 <defs>   <pattern             width="80" height="80"            patternUnits="userSpaceOnUse">      <!-- specify element definitions -->   </pattern>  </defs>

An SVG clipPath element can be defined with the following SVG snippet:

 <defs>   <clipPath              clipPathUnits="userSpaceOnUse">     <path d="m0,200 l100,-100 100,100 -100,100z"/>   </clipPath>  </defs> <!-- other code fragments -->  <g transform="translate(50,50)"     clip-path="url(#clipPathDefinition)"                stroke="black" fill="none">     <!-- specify element definitions -->  </g>

CD-ROM Library

The folder for this chapter on the CD-ROM contains the following SVG documents that are required for rendering the graphics images in this chapter:



   



Fundamentals of SVG Programming. Concepts to Source Code
Fundamentals of SVG Programming: Concepts to Source Code (Graphics Series)
ISBN: 1584502983
EAN: 2147483647
Year: 2003
Pages: 362

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net