Searched refs:coords_h (Results 1 – 3 of 3) sorted by relevance
179 lv_coord_t coords_w = lv_area_get_width(coords), coords_h = lv_area_get_height(coords); in calc_draw_part() local181 clipped_src->y = (int)(y + (clipped_dst->y - coords->y1) * h / coords_h); in calc_draw_part()183 clipped_src->h = (int)(h - (coords_h - clipped_dst->h) * h / coords_h); in calc_draw_part()
408 lv_coord_t coords_h = lv_area_get_height(coords); in draw_bg_grad_simple() local410 srcrect.y = (draw_area->y1 - coords->y1) * 255 / coords_h; in draw_bg_grad_simple()412 srcrect.h = dstrect.h * 256 / coords_h; in draw_bg_grad_simple()676 lv_coord_t coords_w = lv_area_get_width(coords), coords_h = lv_area_get_height(coords); in draw_border() local677 lv_coord_t short_side = LV_MIN(coords_w, coords_h); in draw_border()
412 int32_t coords_h = lv_area_get_height(coords); in draw_border() local414 int32_t short_side = LV_MIN(coords_w, coords_h); in draw_border()