ID2D1SvgPathData::UpdateSegmentData method (d2d1svg.h)
Updates the segment data array. Existing segment data not updated by this method are preserved. The array is resized larger if necessary to accommodate the new segment data.
Syntax
HRESULT UpdateSegmentData(
[in] const FLOAT *data,
UINT32 dataCount,
UINT32 startIndex
);
Parameters
[in] data
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1svg.h |
DLL | Direct2d.dll |