<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>USAGI-WRP</author_name>
  <author_url>https://blog.hatena.ne.jp/USAGI-WRP/</author_url>
  <blog_title>C++ ときどき ごはん、わりとてぃーぶれいく☆</blog_title>
  <blog_url>https://usagi.hatenablog.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>HTML5</anon>
    <anon>Canvas</anon>
  </categories>
  <description>JavaScript講座で教えている学生さんからの質問 せんせー、SVGで画像を作ってCanvasにdrawImageしてみてるんですけど、なんかおかしいんですよー…。 &quot;なんかおかしい&quot;画面を覗き込んで見ると、どうも画像表示の切り抜き元のwidthとheightなり描画先のwidthとheightなりがやや複雑に狂った様に見えた。そこでdrawImage回りのソースを見ると…、いや特に問題ない。最もシンプルな転送元画像を転送先座標にそのまま描画するだけのコード。試しにdrawImageのオーバーロードで転送元と転送先のwidthやheightを直指定してみても状況は変わらない具合。さて、これ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fusagi.hatenablog.jp%2Fentry%2F2012%2F11%2F01%2F130748&quot; title=&quot;Canvasのwidthとheightのバギーな特性 - C++ ときどき ごはん、わりとてぃーぶれいく☆&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-11-01 13:07:48</published>
  <title>Canvasのwidthとheightのバギーな特性</title>
  <type>rich</type>
  <url>https://usagi.hatenablog.jp/entry/2012/11/01/130748</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
