###User Defined Function###
_WinAPI_CloseFigure

###Description###
Closes an open figure in a path.

###Syntax###
#include <WinAPIGdi.au3>
_WinAPI_CloseFigure ( $hDC )


###Parameters###
@@ParamTable@@
$hDC
	Handle to the device context in which the figure will be closed.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	True
Failure 	False
@@End@@


###Remarks###
The <a href="_WinAPI_CloseFigure.htm">_WinAPI_CloseFigure()</a> function closes the figure by drawing a line from the current position to the first point of the figure (usually, the point specified by the most recent call to the <a href="_WinAPI_MoveToEx.htm">_WinAPI_MoveToEx()</a> function) and then connects the lines by using the line join style.


###Related###
_WinAPI_MoveToEx


###See Also###
@@MsdnLink@@ CloseFigure


###Example###
@@IncludeExample@@
