Introduction - If you have any usage issues, please Google them yourself
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
Packet : 51622453liujunpeng03081528.rar filelist
第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