Function Reference


_WinAPI_Arc

Draws an elliptical arc

#include <WinAPIGdi.au3>
_WinAPI_Arc ( $hDC, $tRECT, $iXStartArc, $iYStartArc, $iXEndArc, $iYEndArc )

Parameters

$hDC Handle to the device context.
$tRECT $tagRECT structure that contains the logical coordinates of the bounding rectangle.
$iXStartArc The x-coordinate, in logical units, of the ending point of the radial line defining the starting point of the arc.
$iYStartArc The y-coordinate, in logical units, of the ending point of the radial line defining the starting point of the arc.
$iXEndArc The x-coordinate, in logical units, of the ending point of the radial line defining the ending point of the arc.
$iYEndArc The y-coordinate, in logical units, of the ending point of the radial line defining the ending point of the arc.

Return Value

Success: True
Failure: False

Remarks

The arc is drawn using the current pen; it is not filled. The current position is neither used nor updated by _WinAPI_Arc() function.

Use the _WinAPI_GetArcDirection() and _WinAPI_SetArcDirection() functions to get and set the current drawing direction for a device context.
The default drawing direction is counterclockwise.

Related

_WinAPI_GetArcDirection, _WinAPI_SetArcDirection

See Also

Search Arc in MSDN Library.