Searched refs:coords_w (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() local193 clipped_src->x = (int)(x + (clipped_dst->x - coords->x1) * w / coords_w); in calc_draw_part()195 clipped_src->w = (int)(w - (coords_w - clipped_dst->w) * w / coords_w); in calc_draw_part()
433 lv_coord_t coords_w = lv_area_get_width(coords); in draw_bg_grad_simple() local434 srcrect.x = (draw_area->x1 - coords->x1) * 255 / coords_w; in draw_bg_grad_simple()436 srcrect.w = dstrect.w * 256 / coords_w; 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()
405 int32_t coords_w = lv_area_get_width(coords); in draw_border() local408 int32_t short_side = LV_MIN(coords_w, coords_h); in draw_border()