Lines Matching refs:y1

145         extension.y1 = LV_MAX(extension.y1, -dsc->shadow_ofs_y + ext);  in lv_draw_sdl_draw_rect()
152 extension.y1 = LV_MAX(extension.y1, ext); in lv_draw_sdl_draw_rect()
223 lv_area_t blend_coords = {.x1 = 0, .y1 = 0, .x2 = w - 1, .y2 = h - 1}; in lv_draw_sdl_rect_grad_frag_obtain()
224 lv_area_t draw_area = {.x1 = 0, .y1 = 0, .x2 = radius - 1, .y2 = radius - 1}; in lv_draw_sdl_rect_grad_frag_obtain()
289 corner_area.y1 = coords->y1; in lv_draw_sdl_rect_bg_frag_draw_corners()
291 corner_area.y2 = coords->y1 + frag_size - 1; in lv_draw_sdl_rect_bg_frag_draw_corners()
297 …t sx = (lv_coord_t)(dst_area.x1 - corner_area.x1), sy = (lv_coord_t)(dst_area.y1 - corner_area.y1); in lv_draw_sdl_rect_bg_frag_draw_corners()
311 sy = (lv_coord_t)(dst_area.y1 - corner_area.y1); in lv_draw_sdl_rect_bg_frag_draw_corners()
316 … 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()
321 corner_area.y1 = LV_MAX(coords->y2 - frag_size + 1, coords->y1 + frag_size); in lv_draw_sdl_rect_bg_frag_draw_corners()
330 sy = (lv_coord_t)(dst_area.y1 - corner_area.y1); in lv_draw_sdl_rect_bg_frag_draw_corners()
349 sy = (lv_coord_t)(dst_area.y1 - corner_area.y1); in lv_draw_sdl_rect_bg_frag_draw_corners()
424 srcrect.y = (draw_area->y1 - coords->y1) * 255 / coords_h; in draw_bg_grad_simple()
480 part_coords.y1 = radius; in draw_bg_grad_radius()
493 part_coords.y1 = 0; in draw_bg_grad_radius()
503 part_coords.y1 = 0; in draw_bg_grad_radius()
516 part_coords.y1 = radius; in draw_bg_grad_radius()
542 a.y1 = coords->y1 + lv_area_get_height(coords) / 2 - size.y / 2; in draw_bg_img()
543 a.y2 = a.y1 + size.y - 1; in draw_bg_img()
589 area.y1 = coords->y1 + lv_area_get_height(coords) / 2 - header.h / 2; in draw_bg_img()
591 area.y2 = area.y1 + header.h - 1; in draw_bg_img()
597 area.y1 = coords->y1; in draw_bg_img()
598 area.y2 = area.y1 + header.h - 1; in draw_bg_img()
600 for(; area.y1 <= coords->y2; area.y1 += header.h, area.y2 += header.h) { in draw_bg_img()
628 core_area.y1 = coords->y1 + dsc->shadow_ofs_y - dsc->shadow_spread; in draw_shadow()
634 shadow_area.y1 = core_area.y1 - sw / 2 - 1; in draw_shadow()
718 …area_inner.y1 += ((dsc->border_side & LV_BORDER_SIDE_TOP) ? dsc->border_width : -(dsc->border_widt… in draw_border()
741 area_inner.y1 -= pad; in draw_outline()
750 area_outer.y1 -= dsc->outline_width; in draw_outline()
778 lv_coord_t max_side = LV_MAX4(key.offsets.x1, key.offsets.y1, -key.offsets.x2, -key.offsets.y2); in draw_border_generic()
796 … const lv_area_t frag_inner_area = {frag_area.x1 + key.offsets.x1, frag_area.y1 + key.offsets.y1, in draw_border_generic()
838 border_area.y1 = coords->y1; in frag_render_borders()
840 border_area.y2 = coords->y1 + frag_size - 1; in frag_render_borders()
845 lv_coord_t sy = (lv_coord_t)(dst_area.y1 - border_area.y1); in frag_render_borders()
856 border_area.y1 = LV_MAX(coords->y2 - frag_size + 1, coords->y1 + frag_size); in frag_render_borders()
864 lv_coord_t sy = (lv_coord_t)(dst_area.y1 - border_area.y1); in frag_render_borders()
876 border_area.y1 = coords->y1 + frag_size; in frag_render_borders()
921 coords->y1 + frag_size, in frag_render_center()
925 if(center_area.x2 < center_area.x1 || center_area.y2 < center_area.y1) return; in frag_render_center()
1006 key.offsets.y1 = inner_area->y1 - outer_area->y1; in rect_border_key_create()