Skip to content

Drawing

Draw shapes and text, and set the drawing state. See the drawing guide.

Function Summary
clear_screen Clear the window to a color.
draw_box Draw a filled rectangle.
draw_circle Draw a circle outline.
draw_fcircle Draw a filled circle.
draw_rect Draw a rectangle outline.
draw_text Draw text with the built-in font.
get_screen_height Read the window height in pixels.
get_screen_width Read the window width in pixels.
set_color Set the color that later drawing calls use.