在MFC中 如何对已经画好的图形进行删除,或者如何对图形操作。 我要的是代码,谢谢。

[复制链接]
查看11 | 回复1 | 2012-3-8 14:24:24 | 显示全部楼层 |阅读模式
#include #include #include using namespace std;struct CPoint{int x;int y;CPoint(int xx, int yy) : x(xx), y(yy){}};struct shape{virtual ~shape() {}virtual bool HitTest(CPoint pt) = 0;virtual void Move(int dx, int dy) = 0;virtual void Draw(/*CDC *pdc*/) = 0;};class Line : public shap...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行