[英]question in MFC when drawing
我想移动我画的照片并擦拭原图。我该怎么办?
The easiest solution for this is to keep the original picture in a memory DC . 最简单的解决方案是将原始图片保存在内存DC中 。 Draw the image to it, then BitBlt it to the screen.
在其上绘制图像,然后将其BitBlt绘制到屏幕上。 When you want to move it, erase your window and BitBlt it again - now at the new location.
当您要移动它时,请擦除窗口并再次对其进行BitBlt操作-现在位于新位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.