Rect::Inflate(constPoint&) method (gdiplustypes.h)

The Rect::Inflate method expands the rectangle by the value of point.X on the left and right edges, and by the value of point.Y on the top and bottom edges.

Syntax

void Inflate(
  [in] const Point & point
);

Parameters

[in] point

Type: const Point&

Reference to a Point object whose X data member specifies the amount to expand the rectangle on the left and right edges, and whose Y data member specifies the amount to expand the rectangle on the top and bottom edges.

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

Point

Rect

RectF

Using a Pen to Draw Lines and Rectangles