/lvgl-3.5.0/src/draw/sdl/ |
D | lv_draw_sdl_polygon.c | 104 SDL_Rect rect = {0, 0, w, h}; in dump_masks() local 107 if(SDL_LockTexture(texture, &rect, (void **) &pixels, &pitch) != 0) return; in dump_masks() 109 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks() 110 for(lv_coord_t y = 0; y < rect.h; y++) { in dump_masks() 111 lv_memset_ff(line_buf, rect.w); in dump_masks() 112 …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() 116 lv_memset_00(&pixels[y * pitch], 4 * rect.w); in dump_masks() 119 lv_memset_ff(&pixels[y * pitch], 4 * rect.w); in dump_masks() 122 for(int x = 0; x < rect.w; x++) { in dump_masks()
|
D | lv_draw_sdl_bg.c | 85 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()
|
D | lv_draw_sdl_arc.c | 149 SDL_Rect rect = {0, 0, w, h}; in dump_masks() local 152 if(SDL_LockTexture(texture, &rect, (void **) &pixels, &pitch) != 0) return; in dump_masks() 154 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks() 155 for(lv_coord_t y = 0; y < rect.h; y++) { in dump_masks() 156 lv_memset_ff(line_buf, rect.w); in dump_masks() 157 …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() 161 lv_memset_00(&pixels[y * pitch], 4 * rect.w); in dump_masks() 164 lv_memset_ff(&pixels[y * pitch], 4 * rect.w); in dump_masks() 167 for(int x = 0; x < rect.w; x++) { in dump_masks() 175 lv_memset_ff(line_buf, rect.w); in dump_masks() [all …]
|
D | lv_draw_sdl_composite.c | 116 _lv_area_intersect(clip_out, apply_area, ¶m->cfg.rect); in lv_draw_sdl_composite_begin() 233 SDL_Rect rect = {0, 0, w, h}; in dump_masks() local 236 if(SDL_LockTexture(texture, &rect, (void **) &pixels, &pitch) != 0) return; in dump_masks() 238 lv_opa_t * line_buf = lv_mem_buf_get(rect.w); in dump_masks() 239 for(lv_coord_t y = 0; y < rect.h; y++) { in dump_masks() 240 lv_memset_ff(line_buf, rect.w); in dump_masks() 241 …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() 245 lv_memset_00(&pixels[y * pitch], 4 * rect.w); in dump_masks() 248 lv_memset_ff(&pixels[y * pitch], 4 * rect.w); in dump_masks() 251 for(int x = 0; x < rect.w; x++) { in dump_masks()
|
D | lv_draw_sdl_img.c | 158 if(SDL_RectEmpty(&header->rect)) { in calc_draw_part() 166 x = header->rect.x; in calc_draw_part() 167 y = header->rect.y; in calc_draw_part() 168 w = header->rect.w; in calc_draw_part() 169 h = header->rect.h; in calc_draw_part() 192 SDL_Rect rect; in lv_draw_sdl_img_load_texture() local 193 SDL_memset(&rect, 0, sizeof(SDL_Rect)); in lv_draw_sdl_img_load_texture() 199 rect = ptr->rect; in lv_draw_sdl_img_load_texture() 215 (*header)->rect = rect; in lv_draw_sdl_img_load_texture() 287 if(!_lv_area_is_equal(&rparam->cfg.rect, coords)) return false; in check_mask_simple_radius()
|
D | lv_draw_sdl_img.h | 37 SDL_Rect rect; member
|
D | lv_draw_sdl_rect.h | 37 SDL_Rect rect; member
|
D | lv_draw_sdl_texture_cache.h | 40 SDL_Rect rect; member
|
D | lv_draw_sdl_rect.c | 380 SDL_Rect rect; in draw_bg_color() local 381 lv_area_to_sdl_rect(draw_area, &rect); in draw_bg_color() 384 SDL_RenderFillRect(ctx->renderer, &rect); in draw_bg_color()
|
/lvgl-3.5.0/src/draw/ |
D | lv_draw_mask.c | 267 … if(!_lv_area_is_out(a, &radius_param->cfg.rect, radius_param->cfg.radius)) return true; in lv_draw_mask_is_any() 270 … if(!_lv_area_is_in(a, &radius_param->cfg.rect, radius_param->cfg.radius)) return true; in lv_draw_mask_is_any() 474 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 476 lv_coord_t w = lv_area_get_width(rect); in lv_draw_mask_radius_init() 477 lv_coord_t h = lv_area_get_height(rect); in lv_draw_mask_radius_init() 482 lv_area_copy(¶m->cfg.rect, rect); in lv_draw_mask_radius_init() 1059 lv_area_t rect; in lv_draw_mask_radius() local 1060 lv_area_copy(&rect, &p->cfg.rect); in lv_draw_mask_radius() 1063 if((abs_y < rect.y1 || abs_y > rect.y2)) { in lv_draw_mask_radius() 1068 if(abs_y < rect.y1 || abs_y > rect.y2) { in lv_draw_mask_radius() [all …]
|
D | lv_draw_mask.h | 173 lv_area_t rect; member 359 void lv_draw_mask_radius_init(lv_draw_mask_radius_param_t * param, const lv_area_t * rect, lv_coord…
|
/lvgl-3.5.0/examples/widgets/table/ |
D | lv_example_table_2.py | 28 dsc.draw_ctx.rect(rect_dsc, sw_area) 40 dsc.draw_ctx.rect(rect_dsc, sw_area)
|
/lvgl-3.5.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_blend.c | 179 vg_lite_rectangle_t rect = { in lv_gpu_nxp_vglite_fill() local 186 err = vg_lite_clear(vgbuf, &rect, vgcol); in lv_gpu_nxp_vglite_fill() 466 uint32_t rect[] = { in lv_vglite_blit_single() local 501 …err = vg_lite_blit_rect(dst_vgbuf, src_vgbuf, rect, &vgmatrix, blend, color, VG_LITE_FILTER_POINT); in lv_vglite_blit_single()
|
/lvgl-3.5.0/src/extra/libs/sjpg/ |
D | lv_sjpg.c | 283 static int img_data_cb(JDEC * jd, void * data, JRECT * rect) in img_data_cb() argument 290 const int row_width = rect->right - rect->left + 1; // Row width in pixels. in img_data_cb() 293 for(int y = rect->top; y <= rect->bottom; y++) { in img_data_cb() 294 int row_offset = y * xres * INPUT_PIXEL_SIZE + rect->left * INPUT_PIXEL_SIZE; in img_data_cb()
|
D | tjpgd.c | 800 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.5.0/examples/widgets/chart/ |
D | lv_example_chart_2.py | 38 dsc.draw_ctx.rect(draw_rect_dsc, a)
|
D | lv_example_chart_8.py | 44 dsc.draw_ctx.rect(draw_rect_dsc, a)
|
/lvgl-3.5.0/docs/porting/ |
D | gpu.md | 20 - `void (*draw_bg)()` Replace the buffer with a rect without decoration like radius or borders.
|
/lvgl-3.5.0/docs/_static/css/ |
D | fontawesome.min.css | 5 …e{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px…
|