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

  1. <?xml version="1.0" standalone="no" ?>
  2.  
  3. <effect>
  4.  
  5.     <svg>
  6.     
  7.     <filter id="Drop_Shadow" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="150%" height="150%">
  8.       <feGaussianBlur id="blur" in="SourceAlpha" stdDeviation="3" result="blurredAlpha"/>
  9.       <feOffset id="offset" in="blurredAlpha" dx="3" dy="3" result="offsetBlurredAlpha"/>
  10.       <feFlood id="flood" result="flooded" flood-color="#000000" flood-opacity="0.65"/>
  11.       <feComposite in="flooded" operator="in" in2="offsetBlurredAlpha" result="coloredShadow" />
  12.       <feComposite in="SourceGraphic" in2="coloredShadow" operator="over"/>
  13.     </filter>
  14.         
  15.     </svg>
  16.  
  17.  
  18.     <dialog caption="Drop Shadow">
  19.  
  20.       <label caption="Offset X:"
  21.               x="10" y="10" width="90" height="30"/>
  22.         <numberControl type="numericedit"
  23.                 xlink:href="#offset" attributeName="dx"
  24.                 min="-100" max="100"
  25.                 x="110" y="10" width="66" height="30" />
  26.  
  27.       <label caption="Offset Y:"
  28.               x="10" y="50" width="90" height="30"/>
  29.         <numberControl type="numericedit"
  30.                 xlink:href="#offset" attributeName="dy"
  31.                 min="-100" max="100"
  32.                 x="110" y="50" width="66" height="30" />
  33.  
  34.       <label caption="Blur Radius:"
  35.               x="10" y="90" width="90" height="30"/>
  36.         <numberControl type="numericedit"
  37.                 xlink:href="#blur" attributeName="stdDeviation"
  38.                 min="0" max="20"
  39.                 x="110" y="90" width="66" height="30" />
  40.  
  41.       <label caption="Shadow Color:"
  42.               x="10" y="140" width="90" height="30"/>
  43.     <colorControl
  44.                 xlink:href="#flood" attributeName="flood-color"
  45.                   x="110" y="140" width="66" height="30"/>
  46.      <label caption="Shadow Opacity:"
  47.               x="10" y="190" width="90" height="30"/>
  48.     <numberControl type="numericedit"
  49.                   xlink:href="#flood" attributeName="flood-opacity"
  50.                 min="0.0" max="1.0"
  51.                 x="110" y="190" width="66" height="30" />
  52.     </dialog>
  53.     
  54. </effect>
  55.  
  56.  
  57.