lv_draw_mask.h

Functions

void lv_draw_mask_rect_dsc_init(lv_draw_mask_rect_dsc_t *dsc)

Initialize a rectangle mask draw descriptor.

Parameters:

dsc -- pointer to a draw descriptor

void lv_draw_mask_rect(lv_layer_t *layer, const lv_draw_mask_rect_dsc_t *dsc)

Create a draw task to mask a rectangle from the buffer

Parameters:
  • layer -- pointer to a layer

  • dsc -- pointer to a draw descriptor

struct lv_draw_mask_rect_dsc_t

Public Members

lv_draw_dsc_base_t base
lv_area_t area
int32_t radius