Description: 基于 MFC的绘图板程序
MFC是一个巨大的应用程序类库,而整个MFC以一个CObject类为基类,其他所有的类全部继承于它。给我们开发程序带来了方便的条件。
本程序用到了GDI(图形设备接口)来进行windows图形编程,充分利用了设备无关位图和面向对象的编程思想。本程序可以使用户完成多种功能,比如:从工具栏选择颜色,更改绘图的线条的粗细,各式各样的绘图工具,选择不同工具时鼠标光标的变化,从外界引入位图。最后还可以对任意位图进行修改,并且运用双缓冲的技术使用户在绘图过程中不会感到屏幕闪烁而眼睛不会疲劳。
-MFC-based program MFC drawing board is a huge application library, and the entire MFC CObject class to a base class, all other classes inherit from it all. We have developed procedures to bring the convenience of conditions. The procedures used by the GDI (Graphics Device Interface) for windows graphics programming, full use of the device-independent bitmap and object-oriented programming ideas. This program allows the user to perform a variety of functions, such as: select a color from the toolbar, change the drawing line thickness, a variety of drawing tools, select different tools of the mouse cursor changes into a bitmap from the outside. Finally, you can modify for any bitmap, and the use of double buffering technology enables users in the drawing process will not feel the screen flashes and the eyes will not fatigue. Platform: |
Size: 3747840 |
Author:狼_图腾 |
Hits: