Funktionreferenz


_WinAPI_Arc


Draws an elliptical arc

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

Parameter

$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.

Rückgabewert

Success: True
Failure: False

Bemerkungen

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.

Verwandte Funktionen

_WinAPI_GetArcDirection, _WinAPI_SetArcDirection

Siehe auch

Suche nach Arc in der MSDN Bibliothek.