lv_draw_mask.h
API reference for lv_draw_mask.h
Summary
Functions
draw/lv_draw_mask.h:58function
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)| Name | Type | Description |
|---|---|---|
task | lv_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
| Member | Type | Description |
|---|---|---|
base | lv_draw_dsc_base_t | |
area | lv_area_t | The area to mask. |
radius | int32_t | The radius of masking |
keep_outside | uint32_t | 0: clear the content out of the area. 1: don't touch the area out of area |
Dependencies
Indirect dependencies
lv_anim.hlv_array.hlv_assert.hlv_bidi.hlv_color_op.hlv_conf_internal.hlv_conf_kconfig.hlv_draw_buf.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_image_decoder.hlv_image_dsc.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style_gen.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.hlv_types.h
How is this guide?
Last updated on