Graphics::D rawPath メソッド (gdiplusgraphics.h)

Graphics::D rawPath メソッドは、GraphicsPath オブジェクトによって定義された一連の線と曲線を描画します。

構文

Status DrawPath(
  [in] const Pen          *pen,
  [in] const GraphicsPath *path
);

パラメーター

[in] pen

種類: const Pen*

パスの描画に使用されるペンへのポインター。

[in] path

型: const GraphicsPath*

パスを構成する線と曲線のシーケンスを指定する GraphicsPath オブジェクトへのポインター。

戻り値

種類: 状態

メソッドが成功した場合は、Status 列挙体の要素である Ok を返します

メソッドが失敗した場合は、 Status 列挙体の他の要素のいずれかを返します。

要件

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

関連項目

直線、曲線、および図形からの図表の作成

FillPie メソッド

グラフィックス

Graphicspath

パス