lv_draw_layer_create() function
Create a new layer on a parent layer
Arguments
parent_layer
the parent layer to which the layer will be merged when it's rendered
color_format
the color format of the layer
area
the areas of the layer (absolute coordinates)
Return value
the new target_layer or NULL on error
lv_draw_layer_create() is called by 3 functions and calls 2 functions:
![]()
lv_draw_layer_create()
lv_draw_layer_create() reads 2 variables and writes 7 variables:
![]()
lv_draw_layer_create()