Hi, When I use "use" to define the path for clipPath, the clip-rule attribute seems to be lost. This does not happen in adobe's svg viewer.
It works OK if it is changed to either define the path (along with it's clip-rule) directly as a child of the clipPath, or if the clip-rule is added as an attribute of the clipPath. Thanks, Richard Harris This example should show two green quadrilaterals, sort of like a strip with a section cut out of it. <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg width="8cm" height="8cm" viewBox="-10 -10 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> <path id="IP1" d="M -500 -500 L -500 500 500 500 500 -500 Z M -5 -0.5 L -5 0.5 5 0.5 5 -0.5 Z" transform="rotate(0) translate(0,2)" clip-rule="evenodd"/> </defs> <clipPath id="CP1"> <use xlink:href="#IP1"/> </clipPath> <g clip-path="url(#CP1)"> <path id="P2" d="M -5 -0.5 L -5 0.5 5 0.5 5 -0.5 Z" fill="green" transform="rotate(120) translate(0,2)"/> </g> </svg> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
