ID2D1SvgStrokeDashArray::UpdateDashes(constFLOAT*,UINT32,UINT32) method (d2d1svg.h)

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

Syntax

HRESULT UpdateDashes(
  [in] const FLOAT *dashes,
       UINT32      dashesCount,
       UINT32      startIndex
);

Parameters

[in] dashes

Type: const FLOAT*

The dashes array.

dashesCount

Type: UINT32

The number of dashes to update.

startIndex

Type: UINT32

The index at which to begin updating dashes. 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

ID2D1SvgStrokeDashArray