1.18 Rectangles

In Windows, a rectangle is defined by a RECT structure. The structure specifies two points: the upper-left and lower-right corners of the rectangle. The sides of a rectangle extend from these two points and are parallel to the x- and y-axes.