# Function Reference

# _WinAPI_WidenPath

Redefines the current path as the area that would be painted if the path were stroked

#include <WinAPIGdi.au3>
_WinAPI_WidenPath ( $hDC )

## Parameters

$hDC | Handle to a device context that contains a closed path.

## Return Value

Success: | True
Failure: | False

## Remarks

The device context identified by the $hDC parameter must contain a closed path.
The _WinAPI_WidenPath() function is successful only if the current pen has a width, in device units, of more than one.
Any Bezier curves in the path are converted to sequences of straight lines approximating the widened curves.
As such, no Bezier curves remain in the path after _WinAPI_WidenPath() is called.

## See Also

Search WidenPath in MSDN Library.