<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakamura001</author_name>
  <author_url>https://blog.hatena.ne.jp/nakamura001/</author_url>
  <blog_title>強火で進め</blog_title>
  <blog_url>https://nakamura001.hatenablog.com/</blog_url>
  <categories>
    <anon>cocos2d</anon>
  </categories>
  <description>UIColorからr,g,b,aの要素を取り出す。次にUIColorは0〜1、ccc4()は0〜255と使用している値の範囲が異なるのでUIColorから取得した値を * 255 する。 UIColor *color = [UIColor colorWithRed:1.0f green:0.5f blue:0.25f alpha:0.3f]; // UIColor *color = [UIColor grayColor]; const CGFloat *c = CGColorGetComponents(color.CGColor); GLubyte r, g, b, a; r = round(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakamura001.hatenablog.com%2Fentry%2F20120126%2F1327589428&quot; title=&quot;UIColorをccc4()用の形式に変換する方法 - 強火で進め&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>2012-01-26 23:50:28</published>
  <title>UIColorをccc4()用の形式に変換する方法</title>
  <type>rich</type>
  <url>https://nakamura001.hatenablog.com/entry/20120126/1327589428</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
