To draw a line in a window, you must call the GDI function MoveToEx() to position the starting point of the line and then call the function LineTo() to draw the line.
Most objects in computer graphics are defined using the Cartesian coordinate system.
You define graphical objects in the Cartesian coordinate system by specifying the coordinates of their vertices.
Shape transformations include translation, scaling, and rotation.
Translation, scaling, and rotation can all be performed on a single shape just by using matrix math.
Using matrices in graphics programming enables you to represent any number of transformations with a single matrix.