Displaying shapes to the V5 screen

A rectangle can be made with a base object. Here is @jpearman’s post with a simple function for drawing one with LVGL.

Here is the doc for a line object.

From @ theol0403 LVGL is planing on supporting canvas drawing in the next version.

However, I really don’t understand the desire to draw at such a low level for Auton selection and debugging. LVGL has a rich set of feature using tabs, buttons and call backs, gauges and sliders. You can create multiple regions of the screen for data presentation and user input. Here are some of the threads that show how powerful it is.

printf to the screen:

Examples:

extra fonts:

2 Likes