开发者

question in MFC when drawing

开发者 https://www.devze.com 2023-02-04 20:07 出处:网络
i want to move a picture which was drawed by me and rub the original.how ca开发者_如何学Cn i do?The easiest solution for this is to keep the original picture in a memory DC. Draw the image to it, then

i want to move a picture which was drawed by me and rub the original.how ca开发者_如何学Cn i do?


The easiest solution for this is to keep the original picture in a memory DC. Draw the image to it, then BitBlt it to the screen. When you want to move it, erase your window and BitBlt it again - now at the new location.

0

精彩评论

暂无评论...
验证码 换一张
取 消