<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unarist</author_name>
  <author_url>https://blog.hatena.ne.jp/unarist/</author_url>
  <blog_title>うなてっくろぐ</blog_title>
  <blog_url>https://unarist.hatenadiary.org/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>.NET</anon>
  </categories>
  <description>どうしてこう妙な壁にぶち当たってばかりなのか。粗探ししたいわけじゃないのにー。 FormsのFormクラスにはSizeプロパティとClientSizeプロパティがあります。どちらも設定可能です。 ある日、こんなコードを書いていました。 this.ClientSize = Madoka.Size; renderTarget.Resize(this.ClientSize); Direct2Dの話になるのですが、WindowRenderTargetはターゲットウィンドウをResizeで指定したサイズだと思い込んで描画します。なので実際のClientSizeと違ったり、まして比率が間違っていると非常に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funarist.hatenadiary.org%2Fentry%2F20120804%2Foor_in_clientsize&quot; title=&quot;ClientSizeに大きすぎる値を設定すると - うなてっくろぐ&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-08-04 00:00:00</published>
  <title>ClientSizeに大きすぎる値を設定すると</title>
  <type>rich</type>
  <url>https://unarist.hatenadiary.org/entry/20120804/oor_in_clientsize</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
