Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a path geometry object representing the path data.
Syntax
HRESULT CreatePathGeometry(
D2D1_FILL_MODE fillMode,
[out] ID2D1PathGeometry1 **pathGeometry
);
Parameters
fillMode
Type: D2D1_FILL_MODE
Fill mode for the path geometry object.
[out] pathGeometry
Type: ID2D1PathGeometry1**
On completion, pathGeometry will contain a point to the created ID2D1PathGeometry1 object.
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 |