<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tyru</author_name>
  <author_url>https://blog.hatena.ne.jp/tyru/</author_url>
  <blog_title>Humanity</blog_title>
  <blog_url>https://tyru.hatenablog.com/</blog_url>
  <categories>
    <anon>SVG</anon>
    <anon>Vue.js</anon>
  </categories>
  <description>ふと仕事で SVG の &lt;circle&gt; タグの代わりに &lt;path&gt; を使って円を描く必要があったので調べたところ、色んな書き方 (描き方) があるらしいことが分かった。 自分が見つけたのは 2本の円弧で描画 4本の3次ベジェ曲線で描画 8本の2次ベジェ曲線で描画 の3通り。1番目が簡単な上に誤差が無いため通常は1番目を使うはず。 *1 詳しくは以下のページにまとめたのでそちらを参照してください。 SVG の &lt;circle&gt; を &lt;path&gt; で描く 何も考えずに ES6 を使って書いたら最新版の Chrome と Firefox で動いてしまったので ES5 で書き直すモチベーションが失…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftyru.hatenablog.com%2Fentry%2F2017%2F06%2F04%2F041143&quot; title=&quot;SVG の &amp;lt;circle&amp;gt; を &amp;lt;path&amp;gt; で描く - Humanity&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-06-04 04:11:43</published>
  <title>SVG の &lt;circle&gt; を &lt;path&gt; で描く</title>
  <type>rich</type>
  <url>https://tyru.hatenablog.com/entry/2017/06/04/041143</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
