The circle function
- A pointer to the bitmap
- The x
and y coordinates of the center of the circle.
- The radius of the circle
- The color of the circle.
In Listing 4, the two
circles were drawn with
- A difference of ten pixels in their respective radii
- Leaving a gap between the circles.
That gap is filled with blue in Figure 1.