lv_draw_triangle.h
Functions
-
void lv_draw_triangle_dsc_init(lv_draw_triangle_dsc_t *draw_dsc)
Initialize a triangle draw descriptor
- Parameters:
dsc -- pointer to a draw descriptor
-
void lv_draw_triangle(lv_layer_t *layer, const lv_draw_triangle_dsc_t *draw_dsc)
Create a triangle draw task
- Parameters:
layer -- pointer to a layer
dsc -- pointer to an initialized
lv_draw_triangle_dsc_t
variable
-
struct lv_draw_triangle_dsc_t
Public Members
-
lv_draw_dsc_base_t base
-
lv_color_t bg_color
-
lv_grad_dsc_t bg_grad
-
lv_point_precise_t p[3]
-
lv_draw_dsc_base_t base