{"author_name":"sakusan_net","blog_title":"\u3055\u304f\u3055\u3093\u306e\u65e5\u8a18","categories":["C++"],"title":"\u7121\u99c4\u7121\u99c4\u7121\u99c4\uff01\u306a\u884c\u6570","description":"\u4e45\u3005\u306b\u81ea\u5206\u306e\u30b3\u30fc\u30c9\u3092\u547c\u3093\u3067\u3066\u5439\u3044\u305f\uff57 for(int i = start;i<end;i++){ if(i<m_canvasWidth*m_canvasHeight*4) pPixel[i] = pPdat[i]; }\u3068\u304b\u3044\u3063\u3066\u7121\u99c4\u3059\u304e\u308b\uff57 memcpy(pPixel,pPdat,m_canvasWidth*m_canvasHeight*4);\u3067\u3044\u3044\u3058\u3083\u306a\u3044\u304b\uff57 \u3046\u30fc\u3093\u3001\u306a\u3093\u3066\u3044\u3046\u60b6\u7d76\u30b3\u30fc\u30c9\u307e\u3042\u3001\u901f\u5ea6\u306f\u5927\u3057\u3066\u5909\u308f\u3093\u306a\u304b\u3063\u305f\u3051\u3069\u306d\uff1b\uff1b \u8ffd\u8a18 \u307b\u304b\u306e\u8a18\u4e8b\u3067memcopy\u3060\u3068\u9ad8\u901f\u306b\u306a\u308b\u300c\u3053\u3068\u304c\u300d\u3042\u308a\u307e\u3059\u3002 \u3063\u3066\u66f8\u3044\u3066\u3042\u3063\u305f\u3002 \u30e9\u30a4\u30d6\u30e9\u30ea\u63d0\u4f9b\u3067\u88cf\u3067\u30a2\u30bb\u30f3\u30d6\u30e9\u3067\u52d5\u3044\u3066\u308b\u3068\u304b\u306a\u3093\u3068\u304b\u66f8\u3044\u3066\u3042\u3063\u305f\u3051\u3069 \u300c\u3053\u2026","width":"100%","provider_url":"https://hatena.blog","type":"rich","url":"https://sakusan-net.hatenadiary.org/entry/20080511/1210475405","provider_name":"Hatena Blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsakusan-net.hatenadiary.org%2Fentry%2F20080511%2F1210475405\" title=\"\u7121\u99c4\u7121\u99c4\u7121\u99c4\uff01\u306a\u884c\u6570 - \u3055\u304f\u3055\u3093\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>","height":"190","blog_url":"https://sakusan-net.hatenadiary.org/","author_url":"https://blog.hatena.ne.jp/sakusan_net/","published":"2008-05-11 12:10:05","image_url":null}