R2 - DrawArc


void R2::DrawArc(long long x,
                 long long y,
                 long long width,
                 long long height,
                 double startAngle,
                 double sweepAngle)

This method draws an elliptic arc.

Parameters

long long x

The x-coordinate of the upper-left corner of the bounding rectangle of the ellipse that contains the arc.

long long y

The y-coordinate of the upper-left corner of the bounding rectangle of the ellipse that contains the arc.

long long width

The width of the ellipse that contains the arc.

long long height

The height of the ellipse that contains the arc.

double startAngle

The angle between the x-axis and the starting point of the arc.

double sweepAngle

The angle between the starting and ending points of the arc.