The AngleArc function draws a line segment and an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles.
Declare Function AngleArc Lib "gdi32" Alias "AngleArc" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dwRadius As Long, ByVal eStartAngle As Double, ByVal eSweepAngle As Double) As Long
|Operating Systems Supported|
|Requires Windows NT 3.1 or later; Win9x/ME: Not supported|
Identifies a device context.
Specifies the logical x-coordinate of the center of the circle.
Specifies the logical y-coordinate of the center of the circle.
Specifies the radius, in logical units, of the circle. This value must be positive.
Specifies the start angle, in degrees, relative to the x-axis.
Specifies the sweep angle, in degrees, relative to the starting angle.
|If the function succeeds, the return value is nonzero.|
If the function fails, the return value is zero. To get extended error information, call GetLastError.