Lines Matching defs:y2

135                                               int x2, int y2, int [] pixelInfo,
553 * (x1, y1), (x2, y2) - fixed point coordinates of the endpoints
575 public void processFixedLine(int x1, int y1, int x2, int y2,
580 int c = ((x1 ^ x2) | (y1 ^ y2));
593 if (x1 == x2 || y1 == y2) {
597 ry2 = y2 + MDP_HALF_MULT;
601 int dy = y2 - y1;
603 /* Floor of x1, y1, x2, y2 */
607 int fy2 = y2 & MDP_W_MASK;
617 /* Boundary at the direction from (x1,y1) to (x2,y2) */
619 int by1 = (y1 < y2) ? fy1 + MDP_MULT : fy1;
635 if (fx2 == x2 || fy2 == y2) {
640 ry2 = y2 + MDP_HALF_MULT;
642 /* Boundary at the direction from (x2,y2) to (x1,y1) */
644 int by2 = (y1 > y2) ? fy2 + MDP_MULT : fy2;
647 int cross = y2 + ((bx2 - x2)*dy)/dx;
653 cross = x2 + ((by2 - y2)*dx)/dy;
706 int y2 = y0;
740 y1 = y2;
743 y2 = y0w + (py >> shift);
756 /* Bounding y2 by ye */
757 if (((ye-y2)^dy) < 0) {
758 y2 = ye;
761 hnd.processFixedLine(x1, y1, x2, y2, pixelInfo, checkBounds, false);
770 hnd.processFixedLine(x2, y2, xe, ye, pixelInfo, checkBounds, false);
1040 int y2 = y0;
1101 y1 = y2;
1104 y2 = y0w + (py >> shift);
1117 /* Bounding y2 by ye */
1118 if (((ye-y2)^dy) < 0) {
1119 y2 = ye;
1122 hnd.processFixedLine(x1, y1, x2, y2, pixelInfo, checkBounds,
1125 hnd.processFixedLine(x2, y2, xe, ye, pixelInfo, checkBounds,
1360 float x2, float y2, int[] pixelInfo) {
1365 float c[] = new float[]{x1, y1, x2, y2, 0, 0};
1375 // TESTANDCLIP(yMin, yMax, y1, x1, y2, x2, res);
1381 // TESTANDCLIP(yMin, yMax, y2, x2, y1, x1, res);
1390 // TESTANDCLIP(xMin, xMax, x1, y1, x2, y2, res);
1396 // TESTANDCLIP(xMin, xMax, x2, y2, x1, y1, res);
1424 * CLIPCLAMP(xMin, xMax, x1, y1, x2, y2, x3, y3, res);
1444 * CLIPCLAMP(xMin, xMax, x2, y2, x1, y1, x3, y3, res);
2027 public void processFixedLine(int x1, int y1, int x2, int y2,
2046 int c[] = new int[]{x1, y1, x2, y2, 0, 0};
2053 * TESTANDCLIP(outYMin, outYMax, y1, x1, y2, x2, res);
2059 * TESTANDCLIP(outYMin, outYMax, y2, x2, y1, x1, res);
2068 * CLIPCLAMP(outXMin, outXMax, x1, y1, x2, y2, x3, y3, res);
2084 * CLIPCLAMP(outXMin, outXMax, x2, y2, x1, y1, x3, y3, res);
2110 fd.addPoint(x2, y2, false);