Searched refs:p_end (Results 1 – 1 of 1) sorted by relevance
584 lv_point_t p_end; in draw_needles() local585 p_end.y = (lv_trigo_sin(angle) * (r_out)) / LV_TRIGO_SIN_MAX + scale_center.y; in draw_needles()586 p_end.x = (lv_trigo_cos(angle) * (r_out)) / LV_TRIGO_SIN_MAX + scale_center.x; in draw_needles()593 part_draw_dsc.p2 = &p_end; in draw_needles()596 lv_draw_line(draw_ctx, &line_dsc, part_draw_dsc.p1, &p_end); in draw_needles()668 lv_point_t p_end; in inv_line() local669 p_end.y = (lv_trigo_sin(angle) * (r_out)) / LV_TRIGO_SIN_MAX + scale_center.y; in inv_line()670 p_end.x = (lv_trigo_cos(angle) * (r_out)) / LV_TRIGO_SIN_MAX + scale_center.x; in inv_line()673 a.x1 = LV_MIN(scale_center.x, p_end.x) - indic->type_data.needle_line.width - 2; in inv_line()674 a.y1 = LV_MIN(scale_center.y, p_end.y) - indic->type_data.needle_line.width - 2; in inv_line()[all …]