use single path instead of 4 rects, use fill rule to forego entering M for every rect

This commit is contained in:
Pavel Nikulin
2017-11-26 21:23:43 +00:00
parent 7a99c4dcab
commit 9a667daec2

View File

@@ -1,7 +1,4 @@
<svg role="img" aria-label="Windows" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill="#fff">
<rect fill="#00adef" height="512" rx="15%" width="512"/>
<polygon points="24,92 210,66 210,243 24,243"/>
<polygon points="24,264 210,264 210,440 24,415"/>
<polygon points="233,62 480,28 480,243 233,243"/>
<polygon points="233,264 480,264 480,480 233,444"/>
<path fill-rule="evenodd" d="M210 441l270 39V28L24 92v323l209 29V243H24v21h209V63l-23 3v198h270v-21H210"/>
</svg>

Before

Width:  |  Height:  |  Size: 371 B

After

Width:  |  Height:  |  Size: 278 B