Rect::Rect method (gdiplustypes.h)

Creates a Rect object whose x-coordinate, y-coordinate, width, and height are all zero. This is the default constructor.

Syntax

void Rect();

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplustypes.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Pens, Lines, and Rectangles

Rect

Rect Constructors

RectF

Using a Pen to Draw Lines and Rectangles