Lines Matching refs:x2
144 extension.x2 = LV_MAX(extension.x2, dsc->shadow_ofs_x + ext); in lv_draw_sdl_draw_rect()
151 extension.x2 = LV_MAX(extension.x2, ext); in lv_draw_sdl_draw_rect()
220 lv_area_t blend_coords = {.x1 = 0, .y1 = 0, .x2 = w - 1, .y2 = h - 1}; in lv_draw_sdl_rect_grad_frag_obtain()
221 lv_area_t draw_area = {.x1 = 0, .y1 = 0, .x2 = radius - 1, .y2 = radius - 1}; in lv_draw_sdl_rect_grad_frag_obtain()
281 corner_area.x2 = coords->x1 + frag_size - 1; in lv_draw_sdl_rect_bg_frag_draw_corners()
293 corner_area.x1 = LV_MAX(coords->x2 - frag_size + 1, coords->x1 + frag_size); in lv_draw_sdl_rect_bg_frag_draw_corners()
294 corner_area.x2 = coords->x2; in lv_draw_sdl_rect_bg_frag_draw_corners()
307 … SDL_Rect src_rect = {corner_area.x2 - dst_area.x2, dst_area.y1 - corner_area.y1, dw, dh}; in lv_draw_sdl_rect_bg_frag_draw_corners()
326 … SDL_Rect src_rect = {corner_area.x2 - dst_area.x2, corner_area.y2 - dst_area.y2, dw, dh}; in lv_draw_sdl_rect_bg_frag_draw_corners()
332 corner_area.x2 = coords->x1 + frag_size - 1; in lv_draw_sdl_rect_bg_frag_draw_corners()
457 part_coords.x2 = radius - 1; in draw_bg_grad_radius()
470 part_coords.x2 = bg_w - radius - 1; in draw_bg_grad_radius()
480 part_coords.x2 = bg_w - radius - 1; in draw_bg_grad_radius()
493 part_coords.x2 = bg_w - 1; in draw_bg_grad_radius()
514 a.x2 = a.x1 + size.x - 1; in draw_bg_img()
563 area.x2 = area.x1 + header.w - 1; in draw_bg_img()
576 area.x2 = area.x1 + header.w - 1; in draw_bg_img()
577 for(; area.x1 <= coords->x2; area.x1 += header.w, area.x2 += header.w) { in draw_bg_img()
600 core_area.x2 = coords->x2 + dsc->shadow_ofs_x + dsc->shadow_spread; in draw_shadow()
606 shadow_area.x2 = core_area.x2 + sw / 2 + 1; in draw_shadow()
682 …area_inner.x2 -= ((dsc->border_side & LV_BORDER_SIDE_RIGHT) ? dsc->border_width : -(dsc->border_wi… in draw_border()
707 area_inner.x2 += pad; in draw_outline()
714 area_outer.x2 += dsc->outline_width; in draw_outline()
743 lv_coord_t max_side = LV_MAX4(key.offsets.x1, key.offsets.y1, -key.offsets.x2, -key.offsets.y2); in draw_border_generic()
761 … frag_area.x2 + key.offsets.x2, frag_area.y2 + key.offsets.y2 in draw_border_generic()
795 border_area.x2 = coords->x2 - frag_size; in frag_render_borders()
833 border_area.x2 = coords->x1 + frag_size - 1; in frag_render_borders()
851 border_area.x1 = LV_MAX(coords->x2 - frag_size + 1, coords->x1 + frag_size); in frag_render_borders()
852 border_area.x2 = coords->x2; in frag_render_borders()
864 lv_coord_t sx = (lv_coord_t)(border_area.x2 - dst_area.x2); in frag_render_borders()
878 coords->x2 - frag_size, in frag_render_center()
881 if(center_area.x2 < center_area.x1 || center_area.y2 < center_area.y1) return; in frag_render_center()
961 key.offsets.x2 = inner_area->x2 - outer_area->x2; in rect_border_key_create()