Skip to content

Instantly share code, notes, and snippets.

@1024jp
Last active December 23, 2024 23:08
Show Gist options
  • Select an option

  • Save 1024jp/5547075 to your computer and use it in GitHub Desktop.

Select an option

Save 1024jp/5547075 to your computer and use it in GitHub Desktop.
simple gear shape
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="14" height="14" viewBox="-7 -7 14 14">
<polygon id="cog" points="1,7 -1,7 -2,2 2,2"/>
<use xlink:href="#cog" transform="rotate( 45)"/>
<use xlink:href="#cog" transform="rotate( 90)"/>
<use xlink:href="#cog" transform="rotate(135)"/>
<use xlink:href="#cog" transform="rotate(180)"/>
<use xlink:href="#cog" transform="rotate(225)"/>
<use xlink:href="#cog" transform="rotate(270)"/>
<use xlink:href="#cog" transform="rotate(315)"/>
<path d="M -4.8 0 a 4.8 4.8 0 1 1 0 0.00001 z
M -2 0 a 2 2 0 1 1 0 0.00001 z" fill-rule="evenodd"/>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment