ID2D1SvgPathData::UpdateCommands method

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

Syntax


HRESULT UpdateCommands(
  [inconst D2D1_SVG_PATH_COMMAND *commands,
             UINT32                commandsCount,
             UINT32                startIndex = 0
);

Parameters

commands [in]

Type: const D2D1_SVG_PATH_COMMAND*

The commands array.

commandsCount

Type: UINT32

The number of commands to update.

startIndex

Type: UINT32

The index at which to begin updating commands. Must be less than or equal to the size of the commands 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: