Arc

Draw part of a circle

Declaration

Source position: graphh.inc line 805

  procedure Arc(X: SmallInt; Y: SmallInt; StAngle: Word; EndAngle: Word; 
               Radius: Word);

Description

Arc draws part of a circle with center at (X,Y), radius radius, starting from angle start, stopping at angle stop. These angles are measured counterclockwise.

Errors

None.

See also

Name Description
Circle Draw a complete circle
Ellipse Draw an ellipse
GetArcCoords Return coordinates of last drawn arc or ellipse.
PieSlice Draw a pie-slice
Sector Draw and fill a sector of an ellipse