home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" standalone="no" ?>
-
- <effect>
-
- <svg>
- <filter id="Bevel" filterUnits="objectBoundingBox" x="-10%" y="-10%" width="150%" height="150%">
- <feGaussianBlur id="gaussian_blur" in="SourceAlpha" stdDeviation="3" result="blur"/>
- <feSpecularLighting id="specular_lighting" in="blur" surfaceScale="5" specularConstant="0.5"
- specularExponent="10" lighting-color="#ffffff" result="specOut">
- <fePointLight x="-5000" y="-10000" z="20000"/>
- </feSpecularLighting>
- <feComposite in="specOut" in2="SourceAlpha" operator="in" result="specOut2"/>
- <feComposite in="SourceGraphic" in2="specOut2" operator="arithmetic"
- k1="0" k2="1" k3="1" k4="0" result="litPaint"/>
- </filter>
- </svg>
-
-
- <dialog caption="Bevel">
-
- <label caption="Width:"
- x="10" y="10" width="90" height="30"/>
- <numberControl type="numericedit"
- xlink:href="#gaussian_blur" attributeName="stdDeviation"
- min="0.5" max="5"
- x="110" y="10" width="66" height="30" />
-
- <label caption="Color:"
- x="10" y="50" width="90" height="30"/>
- <colorControl
- xlink:href="#specular_lighting" attributeName="lighting-color"
- x="110" y="50" width="66" height="30"/>
-
- </dialog>
-
- </effect>
-
-
-