Lines Matching refs:x2
63 static void grad_point_to_matrix(vg_lite_matrix_t * grad_matrix, float x1, float y1, float x2, floa…
159 grad_point_to_matrix(grad_mat_p, grad->x1, grad->y1, grad->x2, grad->y2); in lv_vg_lite_draw_grad()
270 grad.x2 = area->x1; in lv_vg_lite_draw_grad_helper()
277 grad.x2 = area->x2 + 1; in lv_vg_lite_draw_grad_helper()
288 grad.x2 = lv_pct_to_px(grad_dsc->params.linear.end.x, w) + area->x1; in lv_vg_lite_draw_grad_helper()
441 .X1 = item->lv.x2, in linear_ext_grad_create()
544 static void grad_point_to_matrix(vg_lite_matrix_t * grad_matrix, float x1, float y1, float x2, floa… in grad_point_to_matrix() argument
548 float angle = atan2f(y2 - y1, x2 - x1) * 180.0f / (float)M_PI; in grad_point_to_matrix()
550 float length = sqrtf(SQUARE(x2 - x1) + SQUARE(y2 - y1)); in grad_point_to_matrix()
642 if(!math_equal(lhs->lv.x2, rhs->lv.x2)) { in grad_compare_cb()
643 return lhs->lv.x2 > rhs->lv.x2 ? 1 : -1; in grad_compare_cb()