summaryrefslogtreecommitdiff
path: root/test/svg/fill-rules.svg
diff options
context:
space:
mode:
Diffstat (limited to 'test/svg/fill-rules.svg')
-rw-r--r--test/svg/fill-rules.svg6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/svg/fill-rules.svg b/test/svg/fill-rules.svg
new file mode 100644
index 0000000..af0e3b8
--- /dev/null
+++ b/test/svg/fill-rules.svg
@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 220 110" width="220" height="110">
+ <!-- The same self-intersecting star and nested squares under both rules. -->
+ <path d="M55 5 L85 95 L10 40 L100 40 L25 95 Z" fill="#fc6255" fill-rule="nonzero"/>
+ <path d="M165 5 L195 95 L120 40 L210 40 L135 95 Z" fill="#fc6255" fill-rule="evenodd"/>
+ <path d="M5 100 h40 v8 h-40z M15 102 h20 v4 h-20z" fill="#58c4dd" fill-rule="evenodd"/>
+</svg>