AngleArc function gdi32

int AngleArc(
  1. int hdc,
  2. int x,
  3. int y,
  4. int r,
  5. double StartAngle,
  6. double SweepAngle,
)

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.

BOOL AngleArc(
  HDC   hdc,
  int   x,
  int   y,
  DWORD r,
  FLOAT StartAngle,
  FLOAT SweepAngle
);

Implementation

int AngleArc(
        int hdc, int x, int y, int r, double StartAngle, double SweepAngle) =>
    _AngleArc(hdc, x, y, r, StartAngle, SweepAngle);