搜索资源列表
Draw_rectangle
- 设定矩形的左上角坐标以及右下角坐标,并画出矩形。采用mfc编程实现-set rectangular coordinates of the upper left corner and lower right coordinates, and he painted rectangle. Programming using mfc
ex04a
- 在学习mfc的过程中,我做了一个简单的画图程序(sin曲线),并且可以可变振幅,长度,可频率,状态栏能显示时间,鼠标坐标
CurveGraphic
- MFC单文档图形的绘画,画笔的使用,边框的绘制,坐标轴的绘制-MFC single document graphic painting, the use of brushes, borders, drawing, the drawing axes
ToDraw
- 本程序功能与Windows下附件中的画图软件功能相近。本程序是在VC6.0平台上用MFC所编,支持多文档和多视图结构,视图为滚动视图,允许分割窗口。绘制方面的功能主要包括绘制各种图元,包括直线、Bezier曲线、矩形、圆角矩形、椭圆(圆)、多边形,用笔或画刷自由绘图,橡皮擦擦除,颜料桶填充,取色和区域选取移动。绘图时可以选择各种画笔颜色和画刷颜色,各种线型和线宽,以及画封闭图元时是否填充,当然,还能设置背景色、清除图像及画布大小调整等,并且在绘图区单击右键会弹出快捷菜单。程序支持保存和读取位图
pointdrawEX
- 一个简易的连点绘图实例,可以通过鼠标定义坐标,直接实现线段连点;对MFC初学者很有帮助;打开后先运行.dsw,Ctrl+F5,即可看到实例;-The connection point of drawing a simple example, you can define the coordinates of the mouse, direct line to achieve even point to MFC useful for beginners opened the first run
ht5
- mfc实现圆弧的绘制,可以通过mfc中坐标的转换实现,并且是一种解决函数绘画的基本操作,便于理解学习。-mfc can do it.
绘制像素点函数
- 绘制像素点函数:在屏幕的P0(20,20)坐标位置处绘制一个绿色像素点,然后读出该像素点的颜色,水平平移100个像素绘制P1点。(The pixel function is plotted: a green pixel is drawn at the P0 (20,20) coordinates of the screen, and then the color of the pixel is read out. 100 pixels are horizontally shifted to dr
例2-3
- 本函数从当前位置绘制直线段,但不包括(x,y)点。不包括终点坐标是为了实现多线段连接时公共点的处理,即采用起点闭区间,终点开区间的处理方法。绘制直线段函数的参数不包含颜色,直线段的颜色通过画笔来指定。(This function draws a straight line segment from the current position, but does not include (x, y) points. The end point coordinate is not used to re