kytschBASIC

Put down that phone!
Please view me on real computer.

ARC
X, Y, RADIUS, START ANGLE, END ANGLE
Requires arcade library

The ability to draw an arc on a bitmap and display it on screen as an image.

Example

INCLUDE arcade

RGB 0,0,0

BITMAP 0,0,640,480

	RGB 255,0,0



	ARC 320,160,150,25,155

	ARC 320,310,150,-155,-25

	ARC 265,235,40,-75,75

	ARC 375,235,40,105,-105

END BITMAP

Output

Parameters

Parameter Type Description
X integer X position
Y integer Y position
RADIUS integer Radius of the arc
START ANGLE integer Start angle of the arc, can have negative values
END ANGLE integer End angle of the arc, can have negative values

See also