lv_draw_mask.h

API reference for lv_draw_mask.h

Report on GitHub

Functions

lv_draw_task_get_mask_rect_dsc

Try to get a rectangle mask draw descriptor from a draw task.

 
lv_draw_mask_rect_dsc_t * lv_draw_task_get_mask_rect_dsc(lv_draw_task_t *task)
Parameters
NameTypeDescription
tasklv_draw_task_t *draw task

Returns: lv_draw_mask_rect_dsc_t * — the task's draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_MASK_RECTANGLE

Structs

struct

_lv_draw_mask_rect_dsc_t

MemberTypeDescription
baselv_draw_dsc_base_t
arealv_area_tThe area to mask.
radiusint32_tThe radius of masking
keep_outsideuint32_t0: clear the content out of the area. 1: don't touch the area out of area

Dependencies

How is this guide?

Last updated on

On this page