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

  1. <?xml version="1.0" standalone="no" ?>
  2.  
  3. <effect>
  4.  
  5.     <svg>
  6.         <filter id="Bevel" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="150%" height="150%">
  7.             <feGaussianBlur id="gaussian_blur" in="SourceAlpha" stdDeviation="3" result="blur"/>
  8.             <feSpecularLighting id="specular_lighting" in="blur" surfaceScale="5" specularConstant="0.5"
  9.                         specularExponent="10" lighting-color="#ffffff" result="specOut">
  10.                 <fePointLight x="-5000" y="-10000" z="20000"/>
  11.             </feSpecularLighting>
  12.             <feComposite in="specOut" in2="SourceAlpha" operator="in" result="specOut2"/>
  13.             <feComposite in="SourceGraphic" in2="specOut2" operator="arithmetic"
  14.                         k1="0" k2="1" k3="1" k4="0" result="litPaint"/>
  15.         </filter>
  16.     </svg>
  17.  
  18.  
  19.     <dialog caption="Bevel">
  20.  
  21.       <label caption="Width:"
  22.               x="10" y="10" width="90" height="30"/>
  23.         <numberControl type="numericedit"
  24.                 xlink:href="#gaussian_blur" attributeName="stdDeviation"
  25.                 min="0.5" max="5"
  26.                 x="110" y="10" width="66" height="30" />
  27.  
  28.       <label caption="Color:"
  29.               x="10" y="50" width="90" height="30"/>
  30.       <colorControl
  31.               xlink:href="#specular_lighting" attributeName="lighting-color"
  32.               x="110" y="50" width="66" height="30"/>
  33.  
  34.     </dialog>
  35.     
  36. </effect>
  37.  
  38.  
  39.