RectF::Inflate(constPointF&) method (gdiplustypes.h)

The RectF::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 PointF & point
);

Parameters

[in] point

Type: const PointF&

Reference to a PointF 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

PointF

Rect

RectF

Using a Pen to Draw Lines and Rectangles