Searched refs:coords_w (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() local180 clipped_src->x = (int)(x + (clipped_dst->x - coords->x1) * w / coords_w); in calc_draw_part()182 clipped_src->w = (int)(w - (coords_w - clipped_dst->w) * w / coords_w); in calc_draw_part()
419 lv_coord_t coords_w = lv_area_get_width(coords); in draw_bg_grad_simple() local420 srcrect.x = (draw_area->x1 - coords->x1) * 255 / coords_w; in draw_bg_grad_simple()422 srcrect.w = dstrect.w * 256 / coords_w; 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()
411 int32_t coords_w = lv_area_get_width(coords); in draw_border() local414 int32_t short_side = LV_MIN(coords_w, coords_h); in draw_border()