Home
last modified time | relevance | path

Searched refs:mask_id (Results 1 – 5 of 5) sorted by relevance

/lvgl-3.7.0/examples/widgets/label/
Dlv_example_label_4.c10 static int16_t mask_id; in add_mask_event_cb() local
20 mask_id = lv_draw_mask_add(&m, NULL); in add_mask_event_cb()
25 lv_draw_mask_remove_id(mask_id); in add_mask_event_cb()
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_line.c141 int16_t mask_id = lv_draw_mask_add(&param, NULL); in line_texture_create() local
142 …xture * round_texture = lv_draw_sdl_mask_dump_texture(sdl_ctx->renderer, &round_area, &mask_id, 1); in line_texture_create()
143 lv_draw_mask_remove_id(mask_id); in line_texture_create()
Dlv_draw_sdl_polygon.c77 int16_t mask_id = lv_draw_mask_add(&polygon_param, NULL); in lv_draw_sdl_polygon() local
86 lv_draw_mask_remove_id(mask_id); in lv_draw_sdl_polygon()
Dlv_draw_sdl_rect.c187 int16_t mask_id = lv_draw_mask_add(&mask_rout_param, NULL); in lv_draw_sdl_rect_bg_frag_obtain() local
188 texture = lv_draw_sdl_mask_dump_texture(ctx->renderer, &coords_frag, &mask_id, 1); in lv_draw_sdl_rect_bg_frag_obtain()
190 lv_draw_mask_remove_id(mask_id); in lv_draw_sdl_rect_bg_frag_obtain()
212 int16_t mask_id = lv_draw_mask_add(&mask_rout_param, NULL); in lv_draw_sdl_rect_grad_frag_obtain() local
213 SDL_Texture * mask = lv_draw_sdl_mask_dump_texture(ctx->renderer, &coords, &mask_id, 1); in lv_draw_sdl_rect_grad_frag_obtain()
216 lv_draw_mask_remove_id(mask_id); in lv_draw_sdl_rect_grad_frag_obtain()
672 int16_t mask_id = lv_draw_mask_add(&mask_rout_param, NULL); in draw_shadow() local
673 lv_opa_t * mask_buf = lv_draw_sdl_mask_dump_opa(&mask_area_blurred, &mask_id, 1); in draw_shadow()
679 lv_draw_mask_remove_id(mask_id); in draw_shadow()
/lvgl-3.7.0/docs/overview/
Ddrawing.md90 2. Add the mask parameter to the draw engine with `int16_t mask_id = lv_draw_mask_add(&param, ptr)`…
92 4. Remove the mask from the draw engine with `lv_draw_mask_remove_id(mask_id)` or `lv_draw_mask_rem…