Lines Matching refs:coords
70 … const lv_area_t * coords, const uint8_t * map_p, lv_img_cf_t cf);
81 …aw_vglite_rect(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords);
83 …draw_vglite_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords);
86 const lv_area_t * coords);
89 const lv_area_t * coords);
218 … const lv_area_t * coords, const uint8_t * map_p, lv_img_cf_t cf) in lv_draw_vglite_img_decoded() argument
224 lv_draw_sw_img_decoded(draw_ctx, dsc, coords, map_p, cf); in lv_draw_vglite_img_decoded()
230 lv_draw_sw_img_decoded(draw_ctx, dsc, coords, map_p, cf); in lv_draw_vglite_img_decoded()
235 lv_area_copy(&rel_coords, coords); in lv_draw_vglite_img_decoded()
261 src_area.x1 = blend_area.x1 - (coords->x1 - draw_ctx->buf_area->x1); in lv_draw_vglite_img_decoded()
262 src_area.y1 = blend_area.y1 - (coords->y1 - draw_ctx->buf_area->y1); in lv_draw_vglite_img_decoded()
263 src_area.x2 = src_area.x1 + lv_area_get_width(coords) - 1; in lv_draw_vglite_img_decoded()
264 src_area.y2 = src_area.y1 + lv_area_get_height(coords) - 1; in lv_draw_vglite_img_decoded()
265 lv_coord_t src_stride = lv_area_get_width(coords); in lv_draw_vglite_img_decoded()
290 lv_draw_sw_img_decoded(draw_ctx, dsc, coords, map_p, cf); in lv_draw_vglite_img_decoded()
352 …raw_vglite_rect(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords) in lv_draw_vglite_rect() argument
355 lv_draw_sw_rect(draw_ctx, dsc, coords); in lv_draw_vglite_rect()
368 lv_draw_sw_rect(draw_ctx, &vglite_dsc, coords); in lv_draw_vglite_rect()
374 if(lv_draw_vglite_bg(draw_ctx, &vglite_dsc, coords) != LV_RES_OK) in lv_draw_vglite_rect()
375 lv_draw_sw_rect(draw_ctx, &vglite_dsc, coords); in lv_draw_vglite_rect()
383 lv_draw_sw_rect(draw_ctx, &vglite_dsc, coords); in lv_draw_vglite_rect()
388 if(lv_draw_vglite_border(draw_ctx, &vglite_dsc, coords) != LV_RES_OK) in lv_draw_vglite_rect()
389 lv_draw_sw_rect(draw_ctx, &vglite_dsc, coords); in lv_draw_vglite_rect()
394 if(lv_draw_vglite_outline(draw_ctx, &vglite_dsc, coords) != LV_RES_OK) in lv_draw_vglite_rect()
395 lv_draw_sw_rect(draw_ctx, &vglite_dsc, coords); in lv_draw_vglite_rect()
398 …_draw_vglite_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords) in lv_draw_vglite_bg() argument
404 lv_area_copy(&rel_coords, coords); in lv_draw_vglite_bg()
448 const lv_area_t * coords) in lv_draw_vglite_border() argument
463 rel_coords.x1 = coords->x1 + ceil(border_width / 2.0f); in lv_draw_vglite_border()
464 rel_coords.x2 = coords->x2 - floor(border_width / 2.0f); in lv_draw_vglite_border()
465 rel_coords.y1 = coords->y1 + ceil(border_width / 2.0f); in lv_draw_vglite_border()
466 rel_coords.y2 = coords->y2 - floor(border_width / 2.0f); in lv_draw_vglite_border()
486 const lv_area_t * coords) in lv_draw_vglite_outline() argument
496 rel_coords.x1 = coords->x1 - outline_pad - floor(dsc->outline_width / 2.0f); in lv_draw_vglite_outline()
497 rel_coords.x2 = coords->x2 + outline_pad + ceil(dsc->outline_width / 2.0f); in lv_draw_vglite_outline()
498 rel_coords.y1 = coords->y1 - outline_pad - floor(dsc->outline_width / 2.0f); in lv_draw_vglite_outline()
499 rel_coords.y2 = coords->y2 + outline_pad + ceil(dsc->outline_width / 2.0f); in lv_draw_vglite_outline()