Introduction - If you have any usage issues, please Google them yourself
First, the basic principles can explain the midpoint of the dividing line clipping algorithm, the algorithm can be programmed followed, and finally verify the validity of the algorithm by example