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

  1. <?xml version="1.0" standalone="no" ?>
  2.  
  3. <effect>
  4.  
  5.     <svg>
  6.     
  7.     <filter id="Glow" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="150%" height="150%">
  8.       <feMorphology id="morph" in="SourceAlpha" result="morphedAlpha" radius="3" operator="dilate"/>
  9.       <feGaussianBlur id="blur" in="morphedAlpha" result="blurredAlpha" stdDeviation="3"/>
  10.       <feFlood id="flood" result="flooded" flood-color="#000000" flood-opacity="1"/>
  11.       <feComposite operator="in" in="flooded" in2="blurredAlpha" result="coloredShadow" />
  12.       <feComposite in="SourceGraphic" in2="coloredShadow" operator="over"/>
  13.     </filter>
  14.         
  15.     </svg>
  16.  
  17.  
  18.     <dialog caption="Glow">
  19.       <label caption="Radius:"
  20.               x="10" y="10" width="90" height="30"/>
  21.         <numberControl type="numericedit"
  22.                 xlink:href="#morph" attributeName="radius"
  23.                 min="0" max="20"
  24.                 x="110" y="10" width="66" height="30" />
  25.       <label caption="Blur:"
  26.               x="10" y="50" width="90" height="30"/>
  27.       <numberControl type="numericedit"
  28.               xlink:href="#blur" attributeName="stdDeviation"
  29.                 min="0" max="20"
  30.               x="110" y="50" width="66" height="30"/>
  31.       <label caption="Shadow Opacity:"
  32.               x="10" y="90" width="90" height="30"/>
  33.       <numberControl type="numericedit"
  34.                 xlink:href="#flood" attributeName="flood-opacity"
  35.                 min="0.0" max="1.0"
  36.                 x="110" y="90" width="66" height="30" />
  37.       <label caption="Shadow Color:"
  38.               x="10" y="130" width="90" height="30"/>
  39.       <colorControl
  40.               xlink:href="#flood" attributeName="flood-color"
  41.               x="110" y="130" width="66" height="30"/>
  42.     </dialog>
  43.     
  44. </effect>
  45.  
  46.  
  47.