<?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>SDL</anon>
  </categories>
  <description>SDLで1ドットを描画するには、矩形領域を塗りつぶす関数で幅1高さ1の矩形を描画すればよい。 ドットを描画する関数は次の通り。 SDL_Surface* pSurface; void drawPoint(int x, int y, int r, int g, int b, int a) { SDL_Rect rect; rect.x = x; rect.y = y; rect.w = 1; rect.h = 1; SDL_FillRect( pSurface, &amp;rect, SDL_MapRGBA(pSurface-&gt;format,r,g,b,a) ); } pSurfaceが描画対象のサーフ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20090920%2F1253464305&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>2009-09-20 01:31:45</published>
  <title>ドットを描画</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20090920/1253464305</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
