<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>itokjp</author_name>
  <author_url>https://blog.hatena.ne.jp/itokjp/</author_url>
  <blog_title>itok's Lab</blog_title>
  <blog_url>https://itobass.hatenadiary.com/</blog_url>
  <categories>
    <anon>NSView</anon>
  </categories>
  <description>描画領域である NSView の座標系を丸ごと回転させる方法。メソッドとしては2種類あります。 -(void) setBoundsRotation:(float)angle; // angle は反時計回りの度数指定 -(void) setFrameRotation:(float)angle; もちろんのことながら、回転することによって親の座標系やあるいは frame の座標系との相互変換はしっかりとおさえておきましょうね。原点と思っていたところが負値になったりもしますから。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitobass.hatenadiary.com%2Fentry%2F%253Fp%253D76&quot; title=&quot;NSViewの座標系を回転 - itok&amp;#39;s Lab&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-01-29 22:08:29</published>
  <title>NSViewの座標系を回転</title>
  <type>rich</type>
  <url>https://itobass.hatenadiary.com/entry/%3Fp%3D76</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
