<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>Flash</anon>
  </categories>
  <description>ActionScriptではcurveTo()メソッドにより曲線を描画することができる。この曲線の公式は二次ベジェ曲線。曲線の開始点を(x0,y0),コントロールポイントを(x1,y1),終了点を(x2,y2)とすると、次のようにして曲線を書くことができる。 graphics.moveTo(x0,y0); graphics.curveTo(x1,y1,x2,y2); 二次ベジェ曲線で指定するコントロールポイントはカーブする曲線を指定するが、描かれるカーブ自体はコントロールポイントを通らない。 ある点(x,y)を通るような曲線を描きたいときには次のようにしてコントロールポイントを求めれば良い。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20100815%2F1281885667&quot; title=&quot;二次ベジェ曲線 - ゲームが作れるようになるまでがんばる日記&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>2010-08-15 00:21:07</published>
  <title>二次ベジェ曲線</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20100815/1281885667</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
