ID2D1SvgDocument::CreatePathData method
Creates a path data object which can be used to set a 'd' attribute on a 'path' element.
Syntax
HRESULT CreatePathData( [in, optional] const FLOAT *segmentData, UINT32 segmentDataCount, [in, optional] const D2D1_SVG_PATH_COMMAND *commands, UINT32 commandsCount, [out] ID2D1SvgPathData **pathData );
Parameters
- segmentData [in, optional]
-
Type: const FLOAT*
An array of segment data.
- segmentDataCount
-
Type: UINT32
Number of items in segmentData.
- commands [in, optional]
-
Type: const D2D1_SVG_PATH_COMMAND*
An array of path commands.
- commandsCount
-
Type: UINT32
The number of items in commands.
- pathData [out]
-
Type: ID2D1SvgPathData**
When this method completes, this points to the created path data.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
|
Header |
|
|---|---|
|
DLL |
|
See also
Show: