The uCanvas Rendering Engine API provides a set of functions for initializing and controlling a rendering engine, creating tasks for animations and user interactions, managing scenes, and creating 2D shapes and objects. The API is designed to be simple and versatile for creating graphical applications.
This function initiates the rendering engine and initializes the display.
Creates an independent custom thread for the passed loop function and returns a handle.
Pauses a custom user task identified by the task handle.
Adds a delay in milliseconds.
Deletes a custom user task identified by the task handle.
Creates a new 2D scene instance.
Sets the passed 2D instance as the active scene to render.
uCanvas_universal_obj_t* New_uCanvas_2DRectangle(uint16_t xpos, uint16_t ypos, uint16_t h, uint16_t w);
Creates various 2D objects such as rectangles, textboxes, circles, and lines.
Animates a textbox with a reveal-style animation.
Sets the content of the passed textbox object.
Sets the type of the passed 2D object.
Sets the color of the passed 2D object.
Sets monochrome pixel values of the passed 2D object.
Sets the absolute position of the passed 2D object.
void uCanvas_Set_Line_Coordinates(uCanvas_universal_obj_t* line, uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2);
Sets coordinates for a 2D line object.
Sets the radius value of an elliptical type of 2D object.
Sets the height and width of a rectangular 2D object.
Allows indicating fill/no-fill insides of a 2D object.
Allows controlling the visibility of the passed 2D object.