Lines Matching refs:y3
10 …iangle_X(PetscDraw_X *win, int x1, int y_1, int t1, int x2, int y2, int t2, int x3, int y3, int t3) in PetscDrawInterpolatedTriangle_X() argument
22 if (y_1 < 0 && y2 < 0 && y3 < 0) PetscFunctionReturn(PETSC_SUCCESS); in PetscDrawInterpolatedTriangle_X()
24 if (y_1 > win->h && y2 > win->h && y3 > win->h) PetscFunctionReturn(PETSC_SUCCESS); in PetscDrawInterpolatedTriangle_X()
43 if (y_1 > y3) { in PetscDrawInterpolatedTriangle_X()
44 SWAP(y_1, y3); in PetscDrawInterpolatedTriangle_X()
48 if (y2 > y3) { in PetscDrawInterpolatedTriangle_X()
49 SWAP(y2, y3); in PetscDrawInterpolatedTriangle_X()
58 if (y3 != y_1) R_y3_y_1 = 1.0 / ((PetscReal)(y3 - y_1)); in PetscDrawInterpolatedTriangle_X()
98 if (y2 >= y3) PetscFunctionReturn(PETSC_SUCCESS); in PetscDrawInterpolatedTriangle_X()
109 if (y3 != y2) R_y3_y2 = 1.0 / ((PetscReal)(y3 - y2)); in PetscDrawInterpolatedTriangle_X()
111 if (y3 != y_1) R_y3_y_1 = 1.0 / ((PetscReal)(y3 - y_1)); in PetscDrawInterpolatedTriangle_X()
114 for (y = y2; y <= y3; y++) { in PetscDrawInterpolatedTriangle_X()