Introduction - If you have any usage issues, please Google them yourself
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.