Lines Matching refs:x
90 ext->needle_img_pivot.x = 0; in lv_gauge_create()
224 p_mid.x = x_ofs; in lv_gauge_set_value()
230 p_end.x = (_lv_trigo_sin(needle_angle + 90) * r) / LV_TRIGO_SIN_MAX + x_ofs; in lv_gauge_set_value()
233 a.x1 = LV_MATH_MIN(p_mid.x, p_end.x) - needle_w; in lv_gauge_set_value()
235 a.x2 = LV_MATH_MAX(p_mid.x, p_end.x) + needle_w; in lv_gauge_set_value()
241 p_end.x = (_lv_trigo_sin(needle_angle + 90) * r) / LV_TRIGO_SIN_MAX + x_ofs; in lv_gauge_set_value()
243 a.x1 = LV_MATH_MIN(p_mid.x, p_end.x) - needle_w; in lv_gauge_set_value()
245 a.x2 = LV_MATH_MAX(p_mid.x, p_end.x) + needle_w; in lv_gauge_set_value()
288 ext->needle_img_pivot.x = pivot_x; in lv_gauge_set_needle_img()
382 return ext->needle_img_pivot.x; in lv_gauge_get_needle_img_pivot_x()
538 lv_coord_t x = (int32_t)((int32_t)_lv_trigo_sin(angle + 90) * r) / LV_TRIGO_SIN_MAX; in lv_gauge_draw_labels() local
539 x += x_ofs; in lv_gauge_draw_labels()
555 label_cord.x1 = x - label_size.x / 2; in lv_gauge_draw_labels()
557 label_cord.x2 = label_cord.x1 + label_size.x; in lv_gauge_draw_labels()
592 p_mid.x = x_ofs; in lv_gauge_draw_needle()
602 p_end.x = (_lv_trigo_sin(needle_angle + 90) * r) / LV_TRIGO_SIN_MAX + x_ofs; in lv_gauge_draw_needle()
615 … a.x1 = gauge->coords.x1 + lv_area_get_width(&gauge->coords) / 2 - ext->needle_img_pivot.x; in lv_gauge_draw_needle()
622 img_dsc.pivot.x = ext->needle_img_pivot.x; in lv_gauge_draw_needle()