Description: Use CDC class drawing member functions defined, select the brush, the definition, select a brush to draw a polygon. Example of this experiment is all done in TestView.cpp file void CTestView :: OnDraw (CDC* pDC) function. The experiment expected results: draw the octagon an eight triangles, each triangle filled with different colors, color order of the rainbow colors.
To Search:
File list (Check if you may need any files):
计算机图形学
............\test
............\....\Debug
............\....\.....\MainFrm.obj
............\....\.....\StdAfx.obj
............\....\.....\test.exe
............\....\.....\test.ilk
............\....\.....\test.obj
............\....\.....\test.pch
............\....\.....\test.pdb
............\....\.....\test.res
............\....\.....\testDoc.obj
............\....\.....\testView.obj
............\....\.....\vc60.idb
............\....\.....\vc60.pdb
............\....\MainFrm.cpp
............\....\MainFrm.h
............\....\ReadMe.txt
............\....\Resource.h
............\....\StdAfx.cpp
............\....\StdAfx.h
............\....\res
............\....\...\Toolbar.bmp
............\....\...\test.ico
............\....\...\test.rc2
............\....\...\testDoc.ico
............\....\test.clw
............\....\test.cpp
............\....\test.dsp
............\....\test.dsw
............\....\test.h
............\....\test.ncb
............\....\test.opt
............\....\test.plg
............\....\test.rc
............\....\testDoc.cpp
............\....\testDoc.h
............\....\testView.cpp
............\....\testView.h
............\实验结果截图.png