ID2D1SvgPointCollection::UpdatePoints method (d2d1svg.h)

Updates the points array. Existing points not updated by this method are preserved. The array is resized larger if necessary to accommodate the new points.

Syntax

HRESULT UpdatePoints(
  [in] const D2D1_POINT_2F *points,
       UINT32              pointsCount,
       UINT32              startIndex
);

Parameters

[in] points

Type: const D2D1_POINT_2F*

The points array.

pointsCount

Type: UINT32

The number of points to update.

startIndex

Type: UINT32

The index at which to begin updating points. Must be less than or equal to the size of the array.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Requirement Value
Target Platform Windows
Header d2d1svg.h
DLL Direct2d.dll

See also

ID2D1SvgPointCollection