Path Functions (Windows GDI)
The following functions are used to create, alter, or draw paths.
Function | Description |
---|---|
AbortPath | Closes and discards any paths in the specified device context. |
BeginPath | Opens a path bracket in the specified device context. |
CloseFigure | Closes an open figure in a path. |
EndPath | Closes a path bracket and selects the path defined by the bracket into the specified device context. |
FillPath | Closes any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode. |
FlattenPath | Transforms any curves in the path that is selected into the current device context (DC), turning each curve into a sequence of lines. |
GetMiterLimit | Retrieves the miter limit for the specified device context. |
GetPath | Retrieves the coordinates defining the endpoints of lines and the control points of curves found in the path that is selected into the specified device context. |
PathToRegion | Creates a region from the path that is selected into the specified device context. |
SetMiterLimit | Sets the limit for the length of miter joins for the specified device context. |
StrokeAndFillPath | Closes any open figures in a path, strokes the outline of the path by using the current pen, and fills its interior by using the current brush. |
StrokePath | Renders the specified path by using the current pen. |
WidenPath | Redefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the given device context. |