Lines Matching refs:y_1
85 int x_1, y_1, x_2, y_2; in PetscDrawLine_X() local
91 y_1 = YTRANS(draw, XiWin, yl); in PetscDrawLine_X()
93 XDrawLine(XiWin->disp, PetscDrawXiDrawable(XiWin), XiWin->gc.set, x_1, y_1, x_2, y_2); in PetscDrawLine_X()
100 int x_1, y_1, x_2, y_2; in PetscDrawArrow_X() local
106 y_1 = YTRANS(draw, XiWin, yl); in PetscDrawArrow_X()
108 XDrawLine(XiWin->disp, PetscDrawXiDrawable(XiWin), XiWin->gc.set, x_1, y_1, x_2, y_2); in PetscDrawArrow_X()
109 if (x_1 == x_2 && y_1 == y_2) PetscFunctionReturn(PETSC_SUCCESS); in PetscDrawArrow_X()
110 if (x_1 == x_2 && PetscAbs(y_1 - y_2) > 7) { in PetscDrawArrow_X()
111 if (y_2 > y_1) { in PetscDrawArrow_X()
119 if (y_1 == y_2 && PetscAbs(x_1 - x_2) > 7) { in PetscDrawArrow_X()
183 int x1, y_1, x2, y2, x3, y3; in PetscDrawTriangle_X() local
185 y_1 = YTRANS(draw, XiWin, Y_1); in PetscDrawTriangle_X()
190 PetscCall(PetscDrawInterpolatedTriangle_X(XiWin, x1, y_1, c1, x2, y2, c2, x3, y3, c3)); in PetscDrawTriangle_X()