The next step up from drawing lines is filling enclosed areas. Windows' seven functions for drawing filled areas with borders are listed in the table below.
Rectangle with square corners
Rectangle with rounded corners
Arc on the circumference of an ellipse with endpoints connected by a chord
Pie wedge defined by the circumference of an ellipse
Multiple multisided figures
Windows draws the outline of the figure with the current pen selected in the device context. The current background mode, background color, and drawing mode are all used for this outline, just as if Windows were drawing a line. Everything we learned about lines also applies ...