lv_draw_create_unit() function
Allocate a new draw unit with the given size and appends it to the list of draw units
Syntax
void * lv_draw_create_unit(size_t size); Arguments
size
the size to allocate. E.g. `sizeof(my_draw_unit_t)`, where the first element of `my_draw_unit_t` is `lv_draw_unit_t`.