{"id":9736,"date":"2011-06-16T13:44:00","date_gmt":"2011-06-16T13:44:00","guid":{"rendered":"http:\/\/melotopia.net\/b\/?p=9736"},"modified":"2011-06-16T13:44:00","modified_gmt":"2011-06-16T13:44:00","slug":"%eb%b9%84%ed%8a%b8%eb%a7%b5%ec%97%90-%ea%b7%b8%eb%a6%bc-%ea%b7%b8%eb%a0%a4%ec%84%9c-%ec%b6%9c%eb%a0%a5%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"http:\/\/melotopia.net\/b\/?p=9736","title":{"rendered":"\ube44\ud2b8\ub9f5\uc5d0 \uadf8\ub9bc \uadf8\ub824\uc11c \ucd9c\ub825\ud558\uae30."},"content":{"rendered":"<div class=\"desc\">\n        \ube44\ud2b8\ub9f5 \ud30c\uc77c\uc744 \ubd88\ub7ec\uc628 \ud6c4, \uadf8 \uc704\uc5d0 \uadf8\ub9bc\uc744 \uadf8\ub9ac\uace0, \uadf8 \uacb0\uacfc\ub97c \ud654\uba74\uc5d0 \ucd9c\ub825\ud574\uc57c \ud55c\ub2e4. \uc774\ub54c \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 wx.MemoryDC\uc774\ub2e4. DC\ub294 Device Context\uc778\ub370, \uadf8\ub9bc\uc744 \uadf8\ub9b4 \uc218 \uc788\ub294 \ud654\uba74\uc774\ub77c\uace0 \uc0dd\uac01\ud558\uba74 \ub41c\ub2e4. \uadf8\uc911 MemoryDC\ub294 \ud750\ub9b0 \uae30\uc5b5\uc18d\uc758 \uadf8\ub300\ucc98\ub7fc \uc784\uc2dc\ub85c \uc120\uc5b8\ud574\uc11c \uc7a0\uae50 \uc4f0\uace0 \ubc84\ub9b4 \uc218 \uc788\ub294 \uac1d\uccb4\uc774\ub2e4.<\/p>\n<div class=\"txc-textbox\" style=\"border-style: solid; border-width: 1px; border-color: rgb(254, 254, 184); background-color: rgb(254, 254, 184); padding: 10px;\">\n         #\uc77c\ub2e8 \ud558\ub098 \ub9cc\ub4e4\uc790.<br \/>\n         <br \/>\n         self.mydc = wx.MemoryDC()<br \/>\n         <br \/>\n         #\ubc11\uadf8\ub9bc\uc73c\ub85c \uc0ac\uc6a9\ud560 \ud30c\uc77c\uc744 \ud558\ub098 \ub9c8\ub828\ud55c\ub2e4.<br \/>\n         <br \/>\n         self.wxBmp = wx.Bitmap(datafilename, wx.BITMAP_TYPE_ANY)<br \/>\n         <br \/>\n         #\uadf8 \ubc11\uadf8\ub9bc\uc744 MemoryDC\uc5d0 \uc9d1\uc5b4\ub123\ub294\ub2e4.<br \/>\n         <br \/>\n         self.mydc.SelectObject(self.wxBmp)<br \/>\n         <br \/>\n         #MemoryDC\uc5d0\uc11c \uc774\uc81c \uc6d0\ud558\ub294\ub300\ub85c \uadf8\ub9bc\uc744 \uadf8\ub9b0\ub2e4.<br \/>\n         <br \/>\n         self.mydc.DrawLine(1,1,100,100) #\uadf8\ub9bc \uadf8\ub9ac\ub294 \uba54\uc18c\ub4dc\ub294 \ub9ce\uc73c\ub2c8 \uc54c\uc544\uc11c \ucc3e\uc544\ubcf4\ub3c4\ub85d \ud55c\ub2e4.<br \/>\n         <br \/>\n         #\ubc29\uae08 \uc4f0\ub358 MemoryDC\uc5d0 wx.NullBitmap\uc744 \uc5f0\uacb0\ud558\uba74 \uc6d0\ub798 \uc788\ub358 \ub140\uc11d\uc740 \uadf8\ub9bc\uc774 \uadf8\ub824\uc9c4 \ucc44 \ubc84\ub824\uc9c0\uac8c \ub41c\ub2e4.<br \/>\n         <br \/>\n         self.mydc.SelectObject(wx.NullBitmap)<br \/>\n         <br \/>\n         #\uc774\uc81c, \uc870\uc791\uc774 \uc644\ub8cc\ub41c self.wxBmp\ub97c \uac00\uc838\ub2e4 \uc4f0\uba74 \ub41c\ub2e4.\n        <\/div>\n<p>\n<a href=\"http:\/\/www.python-forum.org\/pythonforum\/viewtopic.php?f=2&#038;t=10224\" target=\"_blank\" title=\"[http:\/\/www.python-forum.org\/pythonforum\/viewtopic.php?f=2&#038;t=10224]\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.\"><br \/>\n         http:\/\/www.python-forum.org\/pythonforum\/viewtopic.php?f=2&#038;t=10224<br \/>\n        <\/a><br \/>\n<br \/>\n<a href=\"http:\/\/wiki.wxpython.org\/WorkingWithImages\" target=\"_blank\" title=\"[http:\/\/wiki.wxpython.org\/WorkingWithImages]\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.\"><br \/>\n         http:\/\/wiki.wxpython.org\/WorkingWithImages<br \/>\n        <\/a><br \/>\n<br \/>\n<a href=\"http:\/\/www.wxpython.org\/docs\/api\/wx.MemoryDC-class.html\" target=\"_blank\" title=\"[http:\/\/www.wxpython.org\/docs\/api\/wx.MemoryDC-class.html]\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.\"><br \/>\n         http:\/\/www.wxpython.org\/docs\/api\/wx.MemoryDC-class.html<br \/>\n        <\/a><\/p>\n<p>        \uc774 \ubc29\ubc95\uc744 \ucc3e\ub290\ub77c \ud55c 2\uc8fc \uac78\ub9b0\ub4ef&#8230;<\/p>\n<div style=\"width:100%;margin-top:30px;clear:both;height:30px\">\n<div style=\"width:31px;float:left;\">\n<a href=\"\/toolbar\/popup\/abuseReport\/?entryId=2567\" onclick=\"window.open(this.href, 'tistoryThisBlogPopup', 'width=550, height=510, toolbar=no, menubar=no, status=no, scrollbars=no'); return false;\"><br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\uc2e0\uace0\" src=\"https:\/\/i0.wp.com\/t1.daumcdn.net\/tistory_admin\/static\/ico\/ico_spam_report.png\" style=\"border:0\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\ube44\ud2b8\ub9f5 \ud30c\uc77c\uc744 \ubd88\ub7ec\uc628 \ud6c4, \uadf8 \uc704\uc5d0 \uadf8\ub9bc\uc744 \uadf8\ub9ac\uace0, \uadf8 \uacb0\uacfc\ub97c \ud654\uba74\uc5d0 \ucd9c\ub825\ud574\uc57c \ud55c\ub2e4. \uc774\ub54c \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 wx.MemoryDC\uc774\ub2e4. DC\ub294 Device Context\uc778\ub370, \uadf8\ub9bc\uc744 \uadf8\ub9b4 \uc218 \uc788\ub294 \ud654\uba74\uc774\ub77c\uace0 \uc0dd\uac01\ud558\uba74 \ub41c\ub2e4. \uadf8\uc911 MemoryDC\ub294 \ud750\ub9b0 \uae30\uc5b5\uc18d\uc758 \uadf8\ub300\ucc98\ub7fc \uc784\uc2dc\ub85c \uc120\uc5b8\ud574\uc11c \uc7a0\uae50 \uc4f0\uace0 \ubc84\ub9b4 \uc218 \uc788\ub294 \uac1d\uccb4\uc774\ub2e4. #\uc77c\ub2e8 \ud558\ub098 \ub9cc\ub4e4\uc790. self.mydc = wx.MemoryDC() #\ubc11\uadf8\ub9bc\uc73c\ub85c \uc0ac\uc6a9\ud560 \ud30c\uc77c\uc744 \ud558\ub098 \ub9c8\ub828\ud55c\ub2e4. self.wxBmp = wx.Bitmap(datafilename, wx.BITMAP_TYPE_ANY) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-9736","post","type-post","status-publish","format-standard","hentry","category-12"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8o6gA-2x2","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/9736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9736"}],"version-history":[{"count":0,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/9736\/revisions"}],"wp:attachment":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9736"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}