Introduction - If you have any usage issues, please Google them yourself
Understanding of the principles of cutting two-dimensional graphics (point of cutting, cutting a straight line, polygon clipping), the use of VC+ OpenGL to achieve a straight line cutting algorithm. 2. Experimental contents: (1) understand the principles of cutting a straight line (Cohen-Surtherland algorithm, You-Xin Liang Dong algorithm) (2) the use of VC+ OpenGL to achieve a straight line cutting the coding algorithm, on the screen in a closed arbitrary rectangular cutting a straight line. (3) debug, compile, modify the program