lv_draw_mask.h

Functions

void lv_draw_mask_rect_dsc_init(lv_draw_mask_rect_dsc_t *dsc)
void lv_draw_mask_rect(struct _lv_layer_t *layer, const lv_draw_mask_rect_dsc_t *dsc)

Draw a line

Parameters:
  • point1 -- first point of the line

  • point2 -- second point of the line

  • clip -- the line will be drawn only in this area

  • dsc -- pointer to an initialized lv_draw_line_dsc_t variable

struct lv_draw_mask_rect_dsc_t

Public Members

lv_draw_dsc_base_t base
lv_area_t area
lv_coord_t radius