home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 September / 09_02.iso / software / jwd / files / wdw102ev.exe / Data.Cab / F2084_wireoutline.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-03-11  |  1.4 KB  |  48 lines

  1. <?xml version="1.0" standalone="no" ?>
  2.  
  3. <effect>
  4.  
  5.     <svg>
  6.     
  7.    <filter id="wire_outline" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="150%" height="150%">
  8.                <feMorphology id="morph" result="I1" radius="3" operator="erode" in="SourceAlpha"/>
  9.             <feComposite result="I2" operator="out" in="SourceAlpha" in2="I1"/>
  10.             <feGaussianBlur id="blur" result="I3" in="I2" stdDeviation="3"/>
  11.             <feComponentTransfer in="I3" result="I4">
  12.              <feFuncA type="linear" slope="-1.0" intercept="255.0" />
  13.             </feComponentTransfer>
  14.               <feDiffuseLighting 
  15.                   result="I5" 
  16.                   in="I4" 
  17.                   surfaceScale="5.0" 
  18.                   diffuseConstant="1.0" 
  19.                   lighting-color="white">
  20.                   <feDistantLight elevation="60" azimuth="30"/>
  21.               </feDiffuseLighting>
  22.             <feComposite operator="in" in="I5" in2="I2"/>
  23.    </filter>
  24.         
  25.     </svg>
  26.  
  27.  
  28.     <dialog caption="Wire Outline">
  29.  
  30.       <label caption="Radius:"
  31.               x="10" y="10" width="90" height="30"/>
  32.         <numberControl type="numericedit"
  33.                 xlink:href="#morph" attributeName="radius"
  34.                 min="2" max="20"
  35.                 x="110" y="10" width="66" height="30" />
  36.       <label caption="Blur:"
  37.               x="10" y="50" width="90" height="30"/>
  38.       <numberControl type="numericedit"
  39.               xlink:href="#blur" attributeName="stdDeviation"
  40.                 min="0" max="20"
  41.               x="110" y="50" width="66" height="30"/>
  42.  
  43.     </dialog>
  44.     
  45. </effect>
  46.  
  47.  
  48.