ID2D1SvgDocument::CreatePointCollection メソッド (d2d1svg.h)

多角形またはポリライン要素にポイント属性を設定するために使用できるポイント オブジェクトを作成します。

構文

HRESULT CreatePointCollection(
  [in, optional] const D2D1_POINT_2F     *points,
                 UINT32                  pointsCount,
  [out]          ID2D1SvgPointCollection **pointCollection
);

パラメーター

[in, optional] points

型: const D2D1_POINT_2F*

ポイント コレクション内のポイント。

pointsCount

型: UINT32

points 引数内のポイント数。

[out] pointCollection

種類: ID2D1SvgPointCollection**

作成された ID2D1SvgPointCollection オブジェクト。

戻り値

型: HRESULT

このメソッドは、HRESULT の成功またはエラー コードを返します。

要件

要件
対象プラットフォーム Windows
ヘッダー d2d1svg.h
[DLL] Direct2d.dll

こちらもご覧ください

ID2D1SvgDocument