<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>http://jendo.synology.me/wiki1231/index.php?action=history&amp;feed=atom&amp;title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6</id>
	<title>SVG圖形元件 - 修訂歷史</title>
	<link rel="self" type="application/atom+xml" href="http://jendo.synology.me/wiki1231/index.php?action=history&amp;feed=atom&amp;title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6"/>
	<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;action=history"/>
	<updated>2026-04-10T01:42:44Z</updated>
	<subtitle>本 Wiki 上此頁面的修訂歷史</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59809&amp;oldid=prev</id>
		<title>丁志仁：​/* 擬圓 */</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59809&amp;oldid=prev"/>
		<updated>2024-08-01T14:55:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;擬圓&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2024年8月1日 (四) 14:55 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot; &gt;第22行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第22行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以最左點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m最左點座標 c 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r -0.55r,0 -r,-0.45r -r,-r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以最左點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m最左點座標 c 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r -0.55r,0 -r,-0.45r -r,-r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以繪製直角轉彎或半圓時，可參考以下兩圖的原始碼：&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以繪製直角轉彎或半圓時，可參考以下兩圖的原始碼：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:順時鐘轉彎：&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/b/bf/BezierCurveCockwise.svg&amp;#039; width=&amp;#039;25%&amp;#039; height=&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;*&lt;/del&gt;&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:順時鐘轉彎：&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/b/bf/BezierCurveCockwise.svg&amp;#039; width=&amp;#039;25%&amp;#039; height=&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;25%&amp;#039;/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;#:逆時鐘轉彎：&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/3/35/BezierCurveCounterclockwise.svg&amp;#039; width=&amp;#039;25%&amp;#039; height=&amp;#039;25%&lt;/ins&gt;&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59808&amp;oldid=prev</id>
		<title>丁志仁：​/* 擬圓 */</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59808&amp;oldid=prev"/>
		<updated>2024-08-01T14:53:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;擬圓&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2024年8月1日 (四) 14:53 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot; &gt;第22行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第22行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以最左點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m最左點座標 c 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r -0.55r,0 -r,-0.45r -r,-r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以最左點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m最左點座標 c 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r -0.55r,0 -r,-0.45r -r,-r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以繪製直角轉彎或半圓時，可參考以下兩圖的原始碼：&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以繪製直角轉彎或半圓時，可參考以下兩圖的原始碼：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:順時鐘轉彎：&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/b/bf/BezierCurveCockwise.svg&amp;#039; width=&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;50&lt;/del&gt;%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:順時鐘轉彎：&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/b/bf/BezierCurveCockwise.svg&amp;#039; width=&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;25&lt;/ins&gt;%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki1231:diff::1.12:old-59807:rev-59808 --&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59807&amp;oldid=prev</id>
		<title>丁志仁：​/* 擬圓 */</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59807&amp;oldid=prev"/>
		<updated>2024-08-01T14:52:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;擬圓&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2024年8月1日 (四) 14:52 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;第21行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第21行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以最左點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m最左點座標 c 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r -0.55r,0 -r,-0.45r -r,-r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以最左點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m最左點座標 c 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r -0.55r,0 -r,-0.45r -r,-r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#所以繪製直角轉彎或半圓時，可參考以下兩圖的原始碼：&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#:順時鐘轉彎：&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/b/bf/BezierCurveCockwise.svg&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59806&amp;oldid=prev</id>
		<title>丁志仁：​/* 擬圓 */</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59806&amp;oldid=prev"/>
		<updated>2024-08-01T14:45:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;擬圓&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2024年8月1日 (四) 14:45 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot; &gt;第20行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第20行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#每個圓角都用三次貝茲曲線描寫，有兩個控制點(紅點)，位於直角頂點與圓角端點(黑點)的連線上，距直角頂點(黑點) 9:11 的位置上。如下圖：&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#每個圓角都用三次貝茲曲線描寫，有兩個控制點(紅點)，位於直角頂點與圓角端點(黑點)的連線上，距直角頂點(黑點) 9:11 的位置上。如下圖：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;，可以描寫近似圓。以下為以底點為起點，順時針畫出的擬圓：&lt;/del&gt;&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;m底點座標 &lt;/del&gt;c &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-0.55r,0 -r,-0.45r -r,-r &lt;/del&gt;0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;，可以描寫近似圓。以下為以最左點為起點，順時針畫出的擬圓：&lt;/ins&gt;&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;m最左點座標 &lt;/ins&gt;c 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;r -0.55r,0 -r,-0.45r -r,-&lt;/ins&gt;r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59805&amp;oldid=prev</id>
		<title>丁志仁：​/* 擬圓 */</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59805&amp;oldid=prev"/>
		<updated>2024-08-01T12:20:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;擬圓&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2024年8月1日 (四) 12:20 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot; &gt;第22行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第22行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以底點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m底點座標 c -0.55r,0 -r,-0.45r -r,-r 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以底點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m底點座標 c -0.55r,0 -r,-0.45r -r,-r 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#用n段三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式：(4/3)*tan(π/(2n))&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/270te.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.sstatic.net/270te.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#用n段三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式：(4/3)*tan(π/(2n))&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#:&amp;lt;img src=&amp;#039;https://i.stack.imgur.com/270te.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====參考====&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====參考====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#[https://stackoverflow.com/questions/1734745/how-to-create-circle-with-bézier-curves/1734859 How to create circle with Bézier curves?]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#[https://stackoverflow.com/questions/1734745/how-to-create-circle-with-bézier-curves/1734859 How to create circle with Bézier curves?]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59804&amp;oldid=prev</id>
		<title>丁志仁：​/* 擬圓 */</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=59804&amp;oldid=prev"/>
		<updated>2024-08-01T12:18:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;擬圓&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2024年8月1日 (四) 12:18 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot; &gt;第22行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第22行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以底點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m底點座標 c -0.55r,0 -r,-0.45r -r,-r 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。以下為以底點為起點，順時針畫出的擬圓：&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m底點座標 c -0.55r,0 -r,-0.45r -r,-r 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;stack&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;imgur.com&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;aEsuA&lt;/del&gt;.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sstatic&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;net&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;270te&lt;/ins&gt;.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#用n段三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式：(4/3)*tan(π/(2n))&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#用n段三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式：(4/3)*tan(π/(2n))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.stack.imgur.com/270te.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.stack.imgur.com/270te.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=57003&amp;oldid=prev</id>
		<title>丁志仁 於 2022年4月9日 (六) 13:16</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=57003&amp;oldid=prev"/>
		<updated>2022-04-09T13:16:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2022年4月9日 (六) 13:16 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;第29行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第29行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#[https://oomake.com/question/343212 如何使用Bézier曲線創建圓？]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#[https://oomake.com/question/343212 如何使用Bézier曲線創建圓？]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#[https://www.jianshu.com/p/5198d8aa80c1 用三阶贝塞尔曲线拟合圆]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#[https://www.jianshu.com/p/5198d8aa80c1 用三阶贝塞尔曲线拟合圆]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===四分之一圓之弧===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&amp;lt;path d=&amp;#039;M 0,12 A 12,12 0 0 1 12,0&amp;#039;/&amp;gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#半徑為 12 。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#和 12×12 且兩控制點(紅點)位於直角頂點與圓角端點(黑點)的連線上，位置在距直角頂點(黑點) 5.4:6.6 的三次貝茲函式圓角框，幾近重合。兩者的比較，藍線為圓角框、紅線為弧(線很細，要放大看)：&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e0/RadiusCorner2.svg&amp;#039; width=&amp;#039;128&amp;#039; height=&amp;#039;128&amp;#039;/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===圓角框===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===圓角框===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l41&quot; &gt;第41行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第47行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#x為圓角以外的寬度，可取69；y為圓角以外的高度，可取11.2。&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#x為圓角以外的寬度，可取69；y為圓角以外的高度，可取11.2。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#圓角區： 12×12 。&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#圓角區： 12×12 。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===四分之一圓之弧===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&amp;lt;path d=&amp;#039;M 0,12 A 12,12 0 0 1 12,0&amp;#039;/&amp;gt;&amp;lt;/pre&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#半徑為 12 。&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#和 12×12 且兩控制點(紅點)位於直角頂點與圓角端點(黑點)的連線上，位置在距直角頂點(黑點) 5.4:6.6 的三次貝茲函式圓角框，幾近重合。兩者的比較，藍線為圓角框、紅線為弧(線很細，要放大看)：&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e0/RadiusCorner2.svg&amp;#039; width=&amp;#039;128&amp;#039; height=&amp;#039;128&amp;#039;/&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=57002&amp;oldid=prev</id>
		<title>丁志仁：​/* 擬圓 */</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=57002&amp;oldid=prev"/>
		<updated>2022-04-09T11:28:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;擬圓&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2022年4月9日 (六) 11:28 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot; &gt;第20行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第20行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#每個圓角都用三次貝茲曲線描寫，有兩個控制點(紅點)，位於直角頂點與圓角端點(黑點)的連線上，距直角頂點(黑點) 9:11 的位置上。如下圖：&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#每個圓角都用三次貝茲曲線描寫，有兩個控制點(紅點)，位於直角頂點與圓角端點(黑點)的連線上，距直角頂點(黑點) 9:11 的位置上。如下圖：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;，可以描寫近似圓。&lt;/del&gt;&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m底點座標 c -0.55r,0 -r,-0.45r -r,-r 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;，可以描寫近似圓。以下為以底點為起點，順時針畫出的擬圓：&lt;/ins&gt;&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m底點座標 c -0.55r,0 -r,-0.45r -r,-r 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r&amp;#039;/&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.stack.imgur.com/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.stack.imgur.com/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=57001&amp;oldid=prev</id>
		<title>丁志仁：​/* 擬圓 */</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=57001&amp;oldid=prev"/>
		<updated>2022-04-09T11:27:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;擬圓&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2022年4月9日 (六) 11:27 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot; &gt;第20行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第20行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#每個圓角都用三次貝茲曲線描寫，有兩個控制點(紅點)，位於直角頂點與圓角端點(黑點)的連線上，距直角頂點(黑點) 9:11 的位置上。如下圖：&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#每個圓角都用三次貝茲曲線描寫，有兩個控制點(紅點)，位於直角頂點與圓角端點(黑點)的連線上，距直角頂點(黑點) 9:11 的位置上。如下圖：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br/&amp;gt;&amp;lt;path d=&amp;#039;m底點座標 c -0.55r,0 -r,-0.45r -r,-r 0,-0.55r 0.45r,-r r,-r 0.55r,0 r,0.45r r,r 0,0.55r -0.45r,r -r,r&amp;#039;/&amp;gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = 20:11 = 1:0.55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： (4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.stack.imgur.com/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.stack.imgur.com/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
	<entry>
		<id>http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=57000&amp;oldid=prev</id>
		<title>丁志仁：​/* 擬圓 */</title>
		<link rel="alternate" type="text/html" href="http://jendo.synology.me/wiki1231/index.php?title=SVG%E5%9C%96%E5%BD%A2%E5%85%83%E4%BB%B6&amp;diff=57000&amp;oldid=prev"/>
		<updated>2022-04-09T11:15:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;擬圓&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2022年4月9日 (六) 11:15 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;第21行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第21行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://upload.wikimedia.org/wikipedia/commons/e/e3/RadiusCorner.svg&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#所以湊足四個圓角框的 path ，可以描寫近似圓。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;12&lt;/del&gt;:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;6.6&lt;/del&gt;=1:0.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;55，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： &lt;/del&gt;(4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#上圖圓半徑:圓角端點至控制點的距離 = &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;20&lt;/ins&gt;:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;11 &lt;/ins&gt;= 1:0.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;55 ，用四個圓角三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式： &lt;/ins&gt;(4/3)*tan(π/8) = 4*(√&amp;lt;span style=&amp;#039;text-decoration:overline&amp;#039;&amp;gt;2&amp;lt;/span&amp;gt;-1)/3 ≒ 0.552284749831 ≒ 0.552&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.stack.imgur.com/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#:&amp;lt;img src=&amp;#039;https://i.stack.imgur.com/aEsuA.png&amp;#039; width=&amp;#039;50%&amp;#039; height=&amp;#039;*&amp;#039;/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#用n段三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式：(4/3)*tan(π/(2n))&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#用n段三次貝茲曲線模擬近似圓時，端點距控制點之距離有公式：(4/3)*tan(π/(2n))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>丁志仁</name></author>
	</entry>
</feed>