Rect::GetLocation メソッド (gdiplustypes.h)

Rect::GetLocation メソッドは、四角形の左上隅の座標を取得します。

構文

void GetLocation(
  [out] Point *point
);

パラメーター

[out] point

種類: Point*

左上隅の座標を受け取る Point オブジェクトへのポインター。

戻り値

なし

必要条件

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

こちらもご覧ください

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

Point

Rect

Rect::GetBottom

Rect::GetLeft

Rect::GetRight

Rect::GetTop

RectF

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