
VC绘图基础
gencheng
这个作者很懒,什么都没留下…
展开
-
绘图基础--椭圆
绘图基础--椭圆 // ellipse.cpp #include // Define the application class class CApp : public CWinApp { public: virtual BOOL InitInstance(); }; CApp App; // define the window class class CWindow原创 2013-09-18 14:04:12 · 854 阅读 · 0 评论 -
绘图基础--鼠标移动画点
绘图基础--鼠标移动画点 // draw1.cpp #include // Define the application class class CApp : public CWinApp { public: virtual BOOL InitInstance(); }; CApp App; // define the window class class CWind原创 2013-09-22 14:53:22 · 2309 阅读 · 0 评论 -
绘图基础--橡皮筋画线
绘图基础--橡皮筋画线 橡皮筋画线:用户点击鼠标左键定下一个起点,然后把鼠标拖到目标终点,这时程序就会在起始点间画线。 // rubber.cpp #include // Define the application class class CApp : public CWinApp { public: virtual BOOL InitInstance(); };原创 2013-09-22 16:21:32 · 6699 阅读 · 0 评论 -
绘图基础--画弧,扇形,弓形
绘图基础--画弧,扇形,弓形 // arc.cpp #include #include // Define the application class class CApp : public CWinApp { public: virtual BOOL InitInstance(); }; CApp App; // define the window class c原创 2013-09-18 14:07:23 · 2454 阅读 · 0 评论 -
绘图基础--画线
绘图基础--画线 // line1.cpp #include // Define an application class class CApp : public CWinApp { public: virtual BOOL InitInstance(); }; CApp App; // define the window class class CWindow : publ原创 2013-09-18 09:54:53 · 938 阅读 · 0 评论 -
绘图基础--画笔
绘图基础--画笔 // line2.cpp #include // Define the application class class CApp : public CWinApp { public: virtual BOOL InitInstance(); }; CApp App; // define the window class class CWindow : pub原创 2013-09-18 11:33:35 · 862 阅读 · 0 评论 -
绘图基础--多边形2
绘图基础--多边形2 // polygon2.cpp #include // Define the application class class CApp : public CWinApp { public: virtual BOOL InitInstance(); }; CApp App; // define the window class class CWin原创 2013-09-18 15:08:54 · 767 阅读 · 0 评论 -
绘图基础--多边形1
绘图基础--多边形1 // polygon1.cpp #include // Define the application class class CApp : public CWinApp { public: virtual BOOL InitInstance(); }; CApp App; // define the window class class CWin原创 2013-09-18 14:45:05 · 1103 阅读 · 0 评论 -
绘图基础--使用画笔和画刷绘制网络
绘图基础--使用画笔和画刷绘制网络 // rect.cpp #include // Define the application class class CApp : public CWinApp { public: virtual BOOL InitInstance(); }; CApp App; // define the window class class CWind原创 2013-09-18 11:59:31 · 1240 阅读 · 0 评论 -
绘图基础--检测在矩形中鼠标点击事件
绘图基础--检测在矩形中鼠标点击事件 初始: 鼠标左键单击: 鼠标左键双击: 鼠标左键双击还原: // getclcks.cpp #include // Define the application class class CApp : public CWinApp { public: virtual BOOL InitIn原创 2013-09-22 15:03:30 · 1150 阅读 · 0 评论