Home
last modified time | relevance | path

Searched refs:rect (Results 1 – 19 of 19) sorted by relevance

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_bg.c85 SDL_Rect rect; in draw_bg_color() local
86 lv_area_to_sdl_rect(draw_area, &rect); in draw_bg_color()
87 SDL_RenderFillRect(ctx->renderer, &rect); in draw_bg_color()
98 SDL_Rect rect; in draw_bg_img() local
99 lv_area_to_sdl_rect(draw_area, &rect); in draw_bg_img()
100 SDL_RenderFillRect(ctx->renderer, &rect); in draw_bg_img()
Dlv_draw_sdl_polygon.c110 SDL_Rect rect = {0, 0, w, h}; in dump_masks() local
113 if(SDL_LockTexture(texture, &rect, (void **) &pixels, &pitch) != 0) return; in dump_masks()
115 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks()
116 for(lv_coord_t y = 0; y < rect.h; y++) { in dump_masks()
117 lv_memset_ff(line_buf, rect.w); in dump_masks()
118 …t abs_x = (lv_coord_t) coords->x1, abs_y = (lv_coord_t)(y + coords->y1), len = (lv_coord_t) rect.w; in dump_masks()
122 lv_memset_00(&pixels[y * pitch], 4 * rect.w); in dump_masks()
125 lv_memset_ff(&pixels[y * pitch], 4 * rect.w); in dump_masks()
128 for(int x = 0; x < rect.w; x++) { in dump_masks()
Dlv_draw_sdl_arc.c155 SDL_Rect rect = {0, 0, w, h}; in dump_masks() local
158 if(SDL_LockTexture(texture, &rect, (void **) &pixels, &pitch) != 0) return; in dump_masks()
160 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks()
161 for(lv_coord_t y = 0; y < rect.h; y++) { in dump_masks()
162 lv_memset_ff(line_buf, rect.w); in dump_masks()
163 …t abs_x = (lv_coord_t) coords->x1, abs_y = (lv_coord_t)(y + coords->y1), len = (lv_coord_t) rect.w; in dump_masks()
167 lv_memset_00(&pixels[y * pitch], 4 * rect.w); in dump_masks()
170 lv_memset_ff(&pixels[y * pitch], 4 * rect.w); in dump_masks()
173 for(int x = 0; x < rect.w; x++) { in dump_masks()
181 lv_memset_ff(line_buf, rect.w); in dump_masks()
[all …]
Dlv_draw_sdl_composite.c118 _lv_area_intersect(clip_out, apply_area, &param->cfg.rect); in lv_draw_sdl_composite_begin()
250 SDL_Rect rect = {0, 0, w, h}; in dump_masks() local
253 if(SDL_LockTexture(texture, &rect, (void **) &pixels, &pitch) != 0) return; in dump_masks()
255 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks()
256 for(lv_coord_t y = 0; y < rect.h; y++) { in dump_masks()
257 lv_memset_ff(line_buf, rect.w); in dump_masks()
258 …t abs_x = (lv_coord_t) coords->x1, abs_y = (lv_coord_t)(y + coords->y1), len = (lv_coord_t) rect.w; in dump_masks()
262 lv_memset_00(&pixels[y * pitch], 4 * rect.w); in dump_masks()
265 lv_memset_ff(&pixels[y * pitch], 4 * rect.w); in dump_masks()
268 for(int x = 0; x < rect.w; x++) { in dump_masks()
Dlv_draw_sdl_img.c171 if(SDL_RectEmpty(&header->rect)) { in calc_draw_part()
179 x = header->rect.x; in calc_draw_part()
180 y = header->rect.y; in calc_draw_part()
181 w = header->rect.w; in calc_draw_part()
182 h = header->rect.h; in calc_draw_part()
205 SDL_Rect rect; in lv_draw_sdl_img_load_texture() local
206 SDL_memset(&rect, 0, sizeof(SDL_Rect)); in lv_draw_sdl_img_load_texture()
212 rect = ptr->rect; in lv_draw_sdl_img_load_texture()
228 (*header)->rect = rect; in lv_draw_sdl_img_load_texture()
302 if(!_lv_area_is_equal(&rparam->cfg.rect, coords)) return false; in check_mask_simple_radius()
Dlv_draw_sdl_img.h36 SDL_Rect rect; member
Dlv_draw_sdl_rect.h36 SDL_Rect rect; member
Dlv_draw_sdl_texture_cache.h40 SDL_Rect rect; member
Dlv_draw_sdl_rect.c388 SDL_Rect rect; in draw_bg_color() local
389 lv_area_to_sdl_rect(draw_area, &rect); in draw_bg_color()
392 SDL_RenderFillRect(ctx->renderer, &rect); in draw_bg_color()
/lvgl-3.7.0/src/draw/
Dlv_draw_mask.c268 … if(!_lv_area_is_out(a, &radius_param->cfg.rect, radius_param->cfg.radius)) return true; in lv_draw_mask_is_any()
271 … if(!_lv_area_is_in(a, &radius_param->cfg.rect, radius_param->cfg.radius)) return true; in lv_draw_mask_is_any()
475 void lv_draw_mask_radius_init(lv_draw_mask_radius_param_t * param, const lv_area_t * rect, lv_coord… in lv_draw_mask_radius_init() argument
477 lv_coord_t w = lv_area_get_width(rect); in lv_draw_mask_radius_init()
478 lv_coord_t h = lv_area_get_height(rect); in lv_draw_mask_radius_init()
483 lv_area_copy(&param->cfg.rect, rect); in lv_draw_mask_radius_init()
1058 lv_area_t rect; in lv_draw_mask_radius() local
1059 lv_area_copy(&rect, &p->cfg.rect); in lv_draw_mask_radius()
1062 if((abs_y < rect.y1 || abs_y > rect.y2)) { in lv_draw_mask_radius()
1067 if(abs_y < rect.y1 || abs_y > rect.y2) { in lv_draw_mask_radius()
[all …]
Dlv_draw_mask.h170 lv_area_t rect; member
353 void lv_draw_mask_radius_init(lv_draw_mask_radius_param_t * param, const lv_area_t * rect, lv_coord…
/lvgl-3.7.0/src/draw/nxp/vglite/
Dlv_draw_vglite_blend.c163 vg_lite_rectangle_t rect = { in lv_gpu_nxp_vglite_fill() local
170 err = vg_lite_clear(vgbuf, &rect, vgcol); in lv_gpu_nxp_vglite_fill()
297 uint32_t rect[] = { in lv_gpu_nxp_vglite_buffer_copy() local
310 err = vg_lite_blit_rect(&dest_vgbuf, &src_vgbuf, rect, &vgmatrix, in lv_gpu_nxp_vglite_buffer_copy()
527 uint32_t rect[] = { in lv_vglite_blit() local
553 …err = vg_lite_blit_rect(dst_vgbuf, src_vgbuf, rect, &vgmatrix, blend, color, VG_LITE_FILTER_POINT); in lv_vglite_blit()
/lvgl-3.7.0/examples/widgets/table/
Dlv_example_table_2.py28 dsc.draw_ctx.rect(rect_dsc, sw_area)
40 dsc.draw_ctx.rect(rect_dsc, sw_area)
/lvgl-3.7.0/src/extra/libs/sjpg/
Dlv_sjpg.c282 static int img_data_cb(JDEC * jd, void * data, JRECT * rect) in img_data_cb() argument
289 const int row_width = rect->right - rect->left + 1; // Row width in pixels. in img_data_cb()
292 for(int y = rect->top; y <= rect->bottom; y++) { in img_data_cb()
293 int row_offset = y * xres * INPUT_PIXEL_SIZE + rect->left * INPUT_PIXEL_SIZE; in img_data_cb()
Dtjpgd.c800 JRECT rect; in mcu_output() local
811 rect.left = img_x; rect.right = img_x + rx - 1; /* Rectangular area in the frame buffer */ in mcu_output()
812 rect.top = img_y; rect.bottom = img_y + ry - 1; in mcu_output()
949 return outfunc(jd, jd->workbuf, &rect) ? JDR_OK : JDR_INTR; in mcu_output()
/lvgl-3.7.0/examples/widgets/chart/
Dlv_example_chart_2.py38 dsc.draw_ctx.rect(draw_rect_dsc, a)
Dlv_example_chart_8.py44 dsc.draw_ctx.rect(draw_rect_dsc, a)
/lvgl-3.7.0/docs/porting/
Dgpu.md20 - `void (*draw_bg)()` Replace the buffer with a rect without decoration like radius or borders.
/lvgl-3.7.0/docs/_static/css/
Dfontawesome.min.css5 …e{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px…