The circle function
The
circle
function requires:
- 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.