CustomLineCap::CustomLineCap(constGraphicsPath*,constGraphicsPath*,LineCap,REAL) メソッド (gdiplusheaders.h)

CustomLineCap::CustomLineCap オブジェクトを作成します。

構文

void CustomLineCap(
  [in] const GraphicsPath *fillPath,
  [in] const GraphicsPath *strokePath,
  [in] LineCap            baseCap,
  [in] REAL               baseInset
);

パラメーター

[in] fillPath

型: const GraphicsPath*

パスへのポインター。

[in] strokePath

型: const GraphicsPath*

パスへのポインター。

[in] baseCap

種類: LineCap

省略可能。 使用する行の上限を指定する LineCap 列挙体の要素。 既定値は LineCapFlat です。

[in] baseInset

種類: REAL

省略可能。 既定値は 0 です。

戻り値

なし

解説

fillPath パラメーターと strokePath パラメーターを同時に使用することはできません。 これら 2 つのパラメーターのいずれかに NULL を 渡す必要があります。 null 以外の値を両方のパラメーターに渡すと、 fillPath は無視されます。

CustomLineCap::CustomLineCap クラスは、CustomLineCap::CustomLineCap コンストラクターに渡される GraphicsPath オブジェクトに設定されている塗りつぶしモードに関係なく、巻き取りフィル モードを使用します。

要件

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