ID2D1SvgDocument::CreatePointCollection method

Creates a points object which can be used to set a points attribute on a polygon or polyline element.

Syntax


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

Parameters

points [in, optional]

Type: const D2D1_POINT_2F*

The points in the point collection.

pointsCount

Type: UINT32

The number of points in the points argument.

pointCollection [out]

Type: ID2D1SvgPointCollection**

The created ID2D1SvgPointCollection object.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgDocument

 

 

Show: