Searched refs:coords_h (Results 1 – 3 of 3) sorted by relevance
192 lv_coord_t coords_w = lv_area_get_width(coords), coords_h = lv_area_get_height(coords); in calc_draw_part() local194 clipped_src->y = (int)(y + (clipped_dst->y - coords->y1) * h / coords_h); in calc_draw_part()196 clipped_src->h = (int)(h - (coords_h - clipped_dst->h) * h / coords_h); in calc_draw_part()
422 lv_coord_t coords_h = lv_area_get_height(coords); in draw_bg_grad_simple() local424 srcrect.y = (draw_area->y1 - coords->y1) * 255 / coords_h; in draw_bg_grad_simple()426 srcrect.h = dstrect.h * 256 / coords_h; in draw_bg_grad_simple()711 lv_coord_t coords_w = lv_area_get_width(coords), coords_h = lv_area_get_height(coords); in draw_border() local712 lv_coord_t short_side = LV_MIN(coords_w, coords_h); in draw_border()
406 int32_t coords_h = lv_area_get_height(coords); in draw_border() local408 int32_t short_side = LV_MIN(coords_w, coords_h); in draw_border()