summaryrefslogtreecommitdiff
path: root/test/svg/fill-rules.svg
blob: af0e3b884afbbf90cd3b71608733347283876a4c (plain) (blame)
1
2
3
4
5
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>