kytschBASIC

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

BITMAP
X, Y, WIDTH, HEIGHT
Requires arcade library

The ability to draw 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

	LINE 120,120,120,200
	LINE 180,120,180,200
	LINE 120,160,180,160

	LINE 200,160,200,165
	LINE 200,170,200,200

	LINE 230,120,230,180
	CIRCLE 230,195,10

	CIRCLE 400,180,220

	CIRCLE 425,150,40
	CIRCLE 375,150,40

	ARC 400,160,25,155,150
BITMAP CLOSE

Output

Parameters

Parameter Type Description
XintegerX position
YintegerY position
WIDTHintegerWidth of the bitmap
HEIGHTintegerHeight of the bitmap

See also