<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuyarin</author_name>
  <author_url>https://blog.hatena.ne.jp/yuyarin/</author_url>
  <blog_title>yuyarinの日記</blog_title>
  <blog_url>https://yuyarin.hatenadiary.org/</blog_url>
  <categories>
    <anon>GDI+</anon>
    <anon>Programming</anon>
  </categories>
  <description>中心回転 ゲームなどのスプライトは中心座標が指定されているのが普通である。では、画像の中心を回転中心とした回転関数を書いてみよう。前回紹介した変形描画メソッドを使う。 DrawImage(Image *srcImage, const Point *dstPoints, INT count); DrawImage(Image *srcImage, const PointF *dstPoints, INT count); 描画する中心座標を(cx, cy)とする。これを中心に時計回りにangle度回転させる。srcからの切り取りなどは各自実装して頂きたい。 #include math.h Stat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuyarin.hatenadiary.org%2Fentry%2F20071108%2F1194458341&quot; title=&quot;VC++でGDI+ そにょ6 〜画像の描画2：中心回転〜 - yuyarinの日記&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>2007-11-08 02:59:01</published>
  <title>VC++でGDI+ そにょ6 〜画像の描画2：中心回転〜</title>
  <type>rich</type>
  <url>https://yuyarin.hatenadiary.org/entry/20071108/1194458341</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
