engine_draw()
Module for drawing to the framebuffer
Attributes:
set_background_color(background_color) [returns: None]
set_background(background) [returns: None]
back_fb_data() [returns: bytearray]
front_fb_data() [returns: bytearray]
back_fb() [returns: framebuf]
front_fb() [returns: framebuf]
Color [value: type, type: type]
black [value: 0x0000, type: Color]
navy [value: 0x000F, type: Color]
darkgreen [value: 0x03E0, type: Color]
darkcyan [value: 0x03EF, type: Color]
maroon [value: 0x7800, type: Color]
purple [value: 0x780F, type: Color]
olive [value: 0x7BE0, type: Color]
lightgrey [value: 0xD69A, type: Color]
darkgrey [value: 0x7BEF, type: Color]
blue [value: 0x001F, type: Color]
green [value: 0x07E0, type: Color]
cyan [value: 0x07FF, type: Color]
red [value: 0xF800, type: Color]
magenta [value: 0xF81F, type: Color]
yellow [value: 0xFFE0, type: Color]
white [value: 0xFFFF, type: Color]
orange [value: 0xFDA0, type: Color]
greenyellow [value: 0xB7E0, type: Color]
pink [value: 0xFE19, type: Color]
brown [value: 0x9A60, type: Color]
gold [value: 0xFEA0, type: Color]
silver [value: 0xC618, type: Color]
skyblue [value: 0x867D, type: Color]
violet [value: 0x915C, type: Color]
clear(color) [returns: None]
pixel(color, x, y, opacity) [returns: None]
line(color, start_x, start_y, end_x, end_y, opacity) [returns: None]
rect(color, top_left_x, top_left_y, width, height, outline, opacity) [returns: None]
circle(color, center_x, center_y, radius, outline, opacity) [returns: None]
text(font, text, blend_color, top_left_x, top_left_y, letter_spacing, line_spacing, opacity) [returns: None]
blit(texture, top_left_x, top_left_y, transparent_color, opacity) [returns: None]
update() [returns: None]
file: src/draw/engine_draw_module.c
landing