ID2D1SvgPathData::GetCommands method

Gets commands from the commands array.

Syntax


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

Parameters

commands [out]

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

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgPathData

 

 

Show: