Preview

Allegro provides a large library of functions for drawing primitives such as lines, circles, triangles, fills, etc.

In this lesson, I will teach you how to use the following functions from that library to draw the primitives shown in Figure 1.

Figure 1. Screen output from DrawingPrimitives01.