office-gobmx/svgio/qa/cppunit/data/tdf155932.svg
Xisco Fauli 3e0e67a152 tdf#155932: tdf#97717: only apply opacity when primitive
Partially revert d47b37eea9
"tdf#97717: do not call add_postProcess from g element"
since we still need to call add_postProcess from g to
apply the clip-path

Change-Id: Ibdc5afadc0db239d0b0e14810943009a4c0a16a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153353
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-06-20 18:29:43 +02:00

22 lines
492 B
XML

<svg
width="100%"
height="100%"
viewBox="0 0 150 500"
preserveAspectRatio="xMidYMid meet"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- ref -->
<defs>
<g id="circles">
<circle cx="30" cy="30" r="20" fill="blue" fill-opacity="0.5" />
</g>
</defs>
<clipPath id="myClip">
<circle r="35" />
</clipPath>
<g clip-path="url(#myClip)">
<circle cx="30" cy="30" r="20" fill="blue" fill-opacity="0.5" />
</g>
</svg>