- 0-1 0
- 2148RTC 基于PLC2148芯片的RTC控制的程序
- Information_Modeling Why Compute? What are computers for? What is their purpose? Suppose your life depended upon coming up with a word or phrase that most accurately summed up what computing is all about. What would your answer be? Would you say that computing is about
- Map this program show all maps states of north america
- regmanagement 实现对注册表程序的管理能方便的对注册表进行操作
- sdx-tzpivots_v5 TzPivots MetaTrader 指标 — 应该附加到1小时或更短时间框架图表的指标
文件名称:liujunpeng03081528
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:50.11kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实验内容:
1 实现扫描转换多边形的算法填充多边形。
实现内容:
1, 可以画任意多边形。
2, 三角形也是通过扫描转换多边形的算法实现。
具体实现:
画多边形用moveto(),lineto(),两个函数实现画没一条边。
构造ET表,AEL表,通过这两个表填充多边形。
画图步骤:
1. 取顶点:用n记录顶点个数,按下鼠标开始取点,第二次按下取得第二个顶点,第i次按下取得第i 个顶点。取得的顶点放到Verex[]中。
2. 画多边形:按下菜单按钮----多边形。画多边形时可通过颜色菜单选择填充颜色。
3. 填充多边形:按下菜单按钮----填充。填充时可通过颜色菜单选择填充颜色。
4. 重新画一个多边形时需要先点菜单---new,然后再重复1,2,3步。
-experiment : to achieve a polygon scan conversion algorithm filled polygons. Implementation : a can draw arbitrary polygon. 2, as well as through the triangular polygon scan conversion algorithm. Realization : painting polygon with moveto (), LineTo (), two paintings did not function to achieve an edge. Construction ET table, Table AEL, through these two tables filled polygons. Drawing steps : 1. Vertex admitted : n vertices record number, press the mouse started to admit, the second press made the second vertices, i pressed the first time i made its vertex. The vertex put Verex []. 2. Painting polygon : press the menu button-polygon. When painting polygon can be filled with color menu to choose colors. 3. Polygon Filling : press the menu button-filled. When filled with color by color fill
1 实现扫描转换多边形的算法填充多边形。
实现内容:
1, 可以画任意多边形。
2, 三角形也是通过扫描转换多边形的算法实现。
具体实现:
画多边形用moveto(),lineto(),两个函数实现画没一条边。
构造ET表,AEL表,通过这两个表填充多边形。
画图步骤:
1. 取顶点:用n记录顶点个数,按下鼠标开始取点,第二次按下取得第二个顶点,第i次按下取得第i 个顶点。取得的顶点放到Verex[]中。
2. 画多边形:按下菜单按钮----多边形。画多边形时可通过颜色菜单选择填充颜色。
3. 填充多边形:按下菜单按钮----填充。填充时可通过颜色菜单选择填充颜色。
4. 重新画一个多边形时需要先点菜单---new,然后再重复1,2,3步。
-experiment : to achieve a polygon scan conversion algorithm filled polygons. Implementation : a can draw arbitrary polygon. 2, as well as through the triangular polygon scan conversion algorithm. Realization : painting polygon with moveto (), LineTo (), two paintings did not function to achieve an edge. Construction ET table, Table AEL, through these two tables filled polygons. Drawing steps : 1. Vertex admitted : n vertices record number, press the mouse started to admit, the second press made the second vertices, i pressed the first time i made its vertex. The vertex put Verex []. 2. Painting polygon : press the menu button-polygon. When painting polygon can be filled with color menu to choose colors. 3. Polygon Filling : press the menu button-filled. When filled with color by color fill
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第2次作业-刘俊鹏03081528
第2次作业-刘俊鹏03081528/polygon.ncb
第2次作业-刘俊鹏03081528/polygon.rc
第2次作业-刘俊鹏03081528/polygon.opt
第2次作业-刘俊鹏03081528/polygon.dsp
第2次作业-刘俊鹏03081528/图形学实验二报告.doc
第2次作业-刘俊鹏03081528/ReadMe.txt
第2次作业-刘俊鹏03081528/polygon.h
第2次作业-刘俊鹏03081528/StdAfx.h
第2次作业-刘俊鹏03081528/StdAfx.cpp
第2次作业-刘俊鹏03081528/MainFrm.h
第2次作业-刘俊鹏03081528/MainFrm.cpp
第2次作业-刘俊鹏03081528/polygonDoc.h
第2次作业-刘俊鹏03081528/polygonDoc.cpp
第2次作业-刘俊鹏03081528/Resource.h
第2次作业-刘俊鹏03081528/res
第2次作业-刘俊鹏03081528/res/polygon.rc2
第2次作业-刘俊鹏03081528/res/polygonDoc.ico
第2次作业-刘俊鹏03081528/res/polygon.ico
第2次作业-刘俊鹏03081528/res/Toolbar.bmp
第2次作业-刘俊鹏03081528/polygonView.h
第2次作业-刘俊鹏03081528/polygonView.cpp
第2次作业-刘俊鹏03081528/polygon.dsw
第2次作业-刘俊鹏03081528/polygon.plg
第2次作业-刘俊鹏03081528/polygon.cpp
www.dssz.com.txt
第2次作业-刘俊鹏03081528/polygon.ncb
第2次作业-刘俊鹏03081528/polygon.rc
第2次作业-刘俊鹏03081528/polygon.opt
第2次作业-刘俊鹏03081528/polygon.dsp
第2次作业-刘俊鹏03081528/图形学实验二报告.doc
第2次作业-刘俊鹏03081528/ReadMe.txt
第2次作业-刘俊鹏03081528/polygon.h
第2次作业-刘俊鹏03081528/StdAfx.h
第2次作业-刘俊鹏03081528/StdAfx.cpp
第2次作业-刘俊鹏03081528/MainFrm.h
第2次作业-刘俊鹏03081528/MainFrm.cpp
第2次作业-刘俊鹏03081528/polygonDoc.h
第2次作业-刘俊鹏03081528/polygonDoc.cpp
第2次作业-刘俊鹏03081528/Resource.h
第2次作业-刘俊鹏03081528/res
第2次作业-刘俊鹏03081528/res/polygon.rc2
第2次作业-刘俊鹏03081528/res/polygonDoc.ico
第2次作业-刘俊鹏03081528/res/polygon.ico
第2次作业-刘俊鹏03081528/res/Toolbar.bmp
第2次作业-刘俊鹏03081528/polygonView.h
第2次作业-刘俊鹏03081528/polygonView.cpp
第2次作业-刘俊鹏03081528/polygon.dsw
第2次作业-刘俊鹏03081528/polygon.plg
第2次作业-刘俊鹏03081528/polygon.cpp
www.dssz.com.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。