(Although the graphics function library in C language is easy to use, its efficiency is too low, and the animations made often flicker. This is the function of drawing straight lines, circles and ellipses using graphics algorithms and copied screen writing techniques, and others are to be added by you. Description: 1. In the main function, you need to call Set_Video_Mode(0x13) to initialize the 0x13 graphics mode (320
200), and then you can use the function to draw. 2. Pixel drawing points can be implemented with functions. To improve efficiency, use macros. (But the line drawing function is not used, and the pointer is injected directly). 3. The three functions are Line, Circle, and Ellipse, which are the capital letters of the library functions. 4. There are three types of straight lines, horizontal, vertical, and arbitrary, which are implemented with three functions, Horizontal_Line, Vertical_Line, and BLine. In order to achieve the most simplified criterion for the user interface, these three functions are placed in the Line function, and the programmer does not need to Remember too many function names. See the attachment for detailed functions.
Line drawing Line drawing circle Circle Ellipse Ellipse function in 0x13 mode in C language.txt)