{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmirichi.hatenadiary.org%2Fentry%2F20091128%2Fp4\" title=\"RGSS2\u3092\u77e5\u308b(13) - mirichi\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"RGSS2\u3092\u77e5\u308b(13)","width":"100%","blog_title":"mirichi\u306e\u65e5\u8a18","description":"Sprite\u306f\u3082\u3068\u3082\u3068\u305d\u306e\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5185\u90e8\u306b\u6301\u3063\u3066\u3044\u3066\u3001=\u4ed8\u304d\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3070\u308c\u308b\u3068\u5f15\u6570\u306e\u5024\u3092\u5185\u90e8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u306e\u3088\u3046\u3060\u3002 Bitmap\u30af\u30e9\u30b9\u306erect\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u3057\u3066\u3067\u306f\u306a\u304f\u30e1\u30bd\u30c3\u30c9\u3068\u30de\u30cb\u30e5\u30a2\u30eb\u306b\u66f8\u3044\u3066\u3042\u308a\u3001\u8a2d\u5b9a\u6a5f\u80fd\u306f\u306a\u304f\u53d6\u5f97\u306e\u307f\u3067\u3042\u308b\u3002 \u3053\u308c\u306f\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u6642\u306bRect\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u3066\u3044\u308b\u3002 b = Bitmap.new(200,200) s = Sprite.new r = s.src_rect p r # => (0,0,0,0) s.bitmap = b p r # => (0,0,200,200) p r.equal?(s.src_rect\u2026","url":"https://mirichi.hatenadiary.org/entry/20091128/p4","provider_url":"https://hatena.blog","type":"rich","categories":["Ruby"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/mirichi/","height":"190","author_name":"mirichi","blog_url":"https://mirichi.hatenadiary.org/","image_url":null,"published":"2009-11-28 00:00:03","version":"1.0"}