ABSTRACT

In this chapter we continue exploring the graphics functions in theWindowsGDI, concentrating on geometrical figures that contain an interior region, in addition to a perimeter or outline. These are called solid or closed figures. The interior area allows them to be filled with a given color, hatch pattern, or bitmap image. At the same time, the perimeter of a closed figure can be rendered differently than the filled area. For example, the circumference of a circle can be outlinedwith a 2-pixel-wide black pen, and the circle's interior filled with 1-pixel-wide red lines, slanted at 45 degrees, and separated from each other by 10 pixels.