Lines Matching refs:coords

30 …c void draw_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords);
31 …id draw_bg_img(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords);
32 …id draw_border(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords);
34 …d draw_outline(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords);
38 const lv_area_t * coords);
39 static void /* LV_ATTRIBUTE_FAST_MEM */ shadow_draw_corner_buf(const lv_area_t * coords, uint16_t *…
67 …lv_draw_sw_rect(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords) in lv_draw_sw_rect() argument
70 draw_shadow(draw_ctx, dsc, coords); in lv_draw_sw_rect()
73 draw_bg(draw_ctx, dsc, coords); in lv_draw_sw_rect()
74 draw_bg_img(draw_ctx, dsc, coords); in lv_draw_sw_rect()
76 draw_border(draw_ctx, dsc, coords); in lv_draw_sw_rect()
78 draw_outline(draw_ctx, dsc, coords); in lv_draw_sw_rect()
83 …d lv_draw_sw_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords) in lv_draw_sw_bg() argument
89 draw_bg(draw_ctx, dsc, coords); in lv_draw_sw_bg()
90 draw_bg_img(draw_ctx, dsc, coords); in lv_draw_sw_bg()
97 …ic void draw_bg(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords) in draw_bg() argument
102 lv_area_copy(&bg_coords, coords); in draw_bg()
324 …oid draw_bg_img(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords) in draw_bg_img() argument
330 if(!_lv_area_intersect(&clip_area, coords, draw_ctx->clip_area)) { in draw_bg_img()
342 a.x1 = coords->x1 + lv_area_get_width(coords) / 2 - size.x / 2; in draw_bg_img()
344 a.y1 = coords->y1 + lv_area_get_height(coords) / 2 - size.y / 2; in draw_bg_img()
368 area.x1 = coords->x1 + lv_area_get_width(coords) / 2 - header.w / 2; in draw_bg_img()
369 area.y1 = coords->y1 + lv_area_get_height(coords) / 2 - header.h / 2; in draw_bg_img()
377 area.y1 = coords->y1; in draw_bg_img()
380 for(; area.y1 <= coords->y2; area.y1 += header.h, area.y2 += header.h) { in draw_bg_img()
382 area.x1 = coords->x1; in draw_bg_img()
384 for(; area.x1 <= coords->x2; area.x1 += header.w, area.x2 += header.w) { in draw_bg_img()
398 …oid draw_border(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords) in draw_border() argument
405 int32_t coords_w = lv_area_get_width(coords); in draw_border()
406 int32_t coords_h = lv_area_get_height(coords); in draw_border()
413 lv_area_copy(&area_inner, coords); in draw_border()
422 …draw_border_generic(draw_ctx, coords, &area_inner, rout, rin, dsc->border_color, dsc->border_opa, … in draw_border()
428 const lv_area_t * coords) in draw_shadow() argument
441 core_area.x1 = coords->x1 + dsc->shadow_ofs_x - dsc->shadow_spread; in draw_shadow()
442 core_area.x2 = coords->x2 + dsc->shadow_ofs_x + dsc->shadow_spread; in draw_shadow()
443 core_area.y1 = coords->y1 + dsc->shadow_ofs_y - dsc->shadow_spread; in draw_shadow()
444 core_area.y2 = coords->y2 + dsc->shadow_ofs_y + dsc->shadow_spread; in draw_shadow()
463 lv_area_copy(&bg_area, coords); in draw_shadow()
945 static void LV_ATTRIBUTE_FAST_MEM shadow_draw_corner_buf(const lv_area_t * coords, uint16_t * sh_bu… in shadow_draw_corner_buf() argument
952 lv_area_copy(&sh_area, coords); in shadow_draw_corner_buf()
956 sh_area.x1 = sh_area.x2 - lv_area_get_width(coords); in shadow_draw_corner_buf()
957 sh_area.y2 = sh_area.y1 + lv_area_get_height(coords); in shadow_draw_corner_buf()
1106 …id draw_outline(lv_draw_ctx_t * draw_ctx, const lv_draw_rect_dsc_t * dsc, const lv_area_t * coords) in draw_outline() argument
1117 lv_area_copy(&area_inner, coords); in draw_outline()