ID2D1SvgPathData::UpdateSegmentData method

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

Syntax


HRESULT UpdateSegmentData(
  [inconst FLOAT  *data,
             UINT32 dataCount,
             UINT32 startIndex = 0
);

Parameters

data [in]

Type: const FLOAT*

The data array.

dataCount

Type: UINT32

The number of data to update.

startIndex

Type: UINT32

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

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgPathData

 

 

Show: