搜索资源列表
liujunpeng03081528
- 实验内容: 1 实现扫描转换多边形的算法填充多边形。 实现内容: 1, 可以画任意多边形。 2, 三角形也是通过扫描转换多边形的算法实现。 具体实现: 画多边形用moveto(),lineto(),两个函数实现画没一条边。 构造ET表,AEL表,通过这两个表填充多边形。 画图步骤: 1. 取顶点:用n记录顶点个数,按下鼠标开始取点,第二次按下取得第二个顶点,第i次按下取得第i 个顶点。取得的顶点放到Verex[]中。 2. 画多边形:按下菜单按钮----多
MyDrawing
- C++Builder 制作的画板,可绘制矩形、椭圆、线和任意图形。可采用多种填充效果和线条粗细。有橡皮擦功能。-C++ Builder produced Sketchpad can be drawn rectangle, ellipse, line and arbitrary graphics. Can be filled with a variety of effects and line thickness. There eraser function.
draw
- 是一个绘图程序,用mfc开发,有填充,有画直线,有画曲线,但是这些功能的实现完全是自己实现,不是用windows里自带的功能,对于学习图形算法的朋友们有一定的帮助-Is a drawing program, with mfc development, there are filled, there are painting a straight line, there are paintings curve, but the realization of these features is en
BmpTest
- 简单画图板程序 实现windows画图板的部分简单功能 基本功能: (1)绘制直线、曲线; (2)绘制各种形状,比如矩形、椭圆形 (3)绘制各种实心形状,比如实心矩形、实心椭圆等 (4)添加文字 (5)设置不同的绘制颜色 (6)显示磁盘上已有的图片文件 (7)具备“橡皮擦”的功能,进行擦除 (8)填充功能 (9)画刷功能 (10)设置图形边框线宽 (11)不同功能实现鼠标的形状的变化 (12)工具栏图标选中与否的变化 (13)添加
Drawing_Library
- 一个图形函数库,具有绘制直线段、任意圆弧、椭圆弧、多边形区域的阴影填充和颜色填充等功能。(仅调用画点函数 Windows API:setpixel(hdc,x,y,color))附带说明-A graphics library, with the draw line segments, any arc, ellipse, polygon area fill and color filled the shadow functions. (Draw-point function only calls
DrawNew
- C#写的绘图板,功能还不错。实现了直线,矩形,圆形,填充矩形,填充圆形。可拖动图形位置,可改变矩形大小,可放大缩小-Written by C# the drawing board, function is also good. Achieve the line, rectangle, circle, filled rectangle, the filled circle. You can drag the graphic location, you can change the rectangl
Draw
- MFC消息映射机制的剖析,讲述如何运用ClassWizard,,理解发送给窗口的消息是如何被MFC框架通过窗口句柄映射表和消息映射表来用窗口类的函数进行响应的。掌握设备描述表及其封装类CDC的使用,CDC是如何与具体的设备发生关联的,融合具体的画图程序进行分析。如何设置封闭图形的填充刷子(位图画刷与透明画刷的使用)。-MFC message mapping mechanism analysis on how to use ClassWizard ,, understand the message