ID2D1SvgPathData::UpdateCommands method (d2d1svg.h)

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

Syntax

HRESULT UpdateCommands(
  [in] const D2D1_SVG_PATH_COMMAND *commands,
       UINT32                      commandsCount,
       UINT32                      startIndex
);

Parameters

[in] commands

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

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

See also

ID2D1SvgPathData