Rect::Inflate(constPoint&) メソッド (gdiplustypes.h)

Rect::Inflate メソッドは、ポイントの値で四角形を展開します。左端と右端の Xおよび point の値。上端と下端の Y

構文

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

パラメーター

[in] point

型: const Point&

X データ メンバーが左端と右端の四角形を展開する量を指定し、その Y データ メンバーが上辺と下端の四角形を展開する量を指定する Point オブジェクトへの参照。

戻り値

なし

要件

   
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー gdiplustypes.h (Gdiplus.h を含む)
Library Gdiplus.lib
[DLL] Gdiplus.dll

こちらもご覧ください

ペン、直線、および四角形

Point

Rect

RectF

ペンを使用した直線と四角形の描画