Searched refs:p_end_low (Results 1 – 1 of 1) sorted by relevance
408 lv_point_t p_end_low; in lv_gauge_draw_needle() local424 p_end_low.y = (lv_trigo_sin(needle_angle_low) * r) / LV_TRIGO_SIN_MAX + y_ofs; in lv_gauge_draw_needle()425 p_end_low.x = (lv_trigo_sin(needle_angle_low + 90) * r) / LV_TRIGO_SIN_MAX + x_ofs; in lv_gauge_draw_needle()431 … int16_t x_mod = ((LV_MATH_ABS(p_end_high.x - p_end_low.x)) * rem) >> LV_GAUGE_INTERPOLATE_SHIFT; in lv_gauge_draw_needle()432 … int16_t y_mod = ((LV_MATH_ABS(p_end_high.y - p_end_low.y)) * rem) >> LV_GAUGE_INTERPOLATE_SHIFT; in lv_gauge_draw_needle()434 if(p_end_high.x < p_end_low.x) x_mod = -x_mod; in lv_gauge_draw_needle()435 if(p_end_high.y < p_end_low.y) y_mod = -y_mod; in lv_gauge_draw_needle()437 p_end.x = p_end_low.x + x_mod; in lv_gauge_draw_needle()438 p_end.y = p_end_low.y + y_mod; in lv_gauge_draw_needle()
Completed in 3 milliseconds