ID2D1SvgPathData::GetCommands method (d2d1svg.h)

Gets commands from the commands array.

Syntax

HRESULT GetCommands(
  [out] D2D1_SVG_PATH_COMMAND *commands,
        UINT32                commandsCount,
        UINT32                startIndex
);

Parameters

[out] commands

Type: D2D1_SVG_PATH_COMMAND*

Buffer to contain the commands.

commandsCount

Type: UINT32

The element count of the buffer.

startIndex

Type: UINT32

The index of the first commands to retrieve.

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