thorvg/examples/resources/svg/css-style.svg
Hermet Park e8e9ba5ea0 infra: move the examples folder outside of the source directory.
examples are not considered a feature of ThorVG;
hence, they are excluded from the src directory.

This change allows developers to concentrate more effectively
on the core ThorVG sources for practical usages.
2024-04-01 10:52:22 +09:00

32 lines
1 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">
<rect x="5" y="5" width="50" height="50" class="mineStyle" />
<circle cx="50" cy="55" r="20" stroke="black" stroke-width="3" class="mineStyle" />
<rect x="80" y="5" width="50" height="50" class="mineStyle" style="fill:#000099"/>
<circle cx="130" cy="55" r="20" style="fill:#006600" stroke="black" stroke-width="3" class="mineStyle" />
<defs>
<style>
rect.mineStyle {
fill: blue;
stroke: #3399ff;
}
.mineStyle {
fill: red;
stroke: yellow;
stroke-width: 10;
}
circle.mineStyle {
fill: #00cc00;
stroke: #99ff33;
}
</style>
</defs>
<rect x="5" y="90" width="50" height="50" class="mineStyle" />
<circle cx="50" cy="140" r="20" stroke="black" stroke-width="3" class="mineStyle" />
<rect x="80" y="90" width="50" height="50" class="mineStyle" style="fill:#000099"/>
<circle cx="130" cy="140" r="20" style="fill:#006600" stroke="black" stroke-width="3" class="mineStyle" />
</svg>