Lines Matching defs:y1

451  * (x1, y1), (x2, y2) -  fixed point coordinates of the endpoints
473 void ProcessFixedLine(ProcessHandler* hnd,jint x1,jint y1,jint x2,jint y2,
478 jint c = ((x1 ^ x2) | (y1 ^ y2));
485 PROCESS_POINT(hnd, x1 + MDP_HALF_MULT, y1 + MDP_HALF_MULT,
491 if (x1 == x2 || y1 == y2) {
494 ry1 = y1 + MDP_HALF_MULT;
499 jint dy = y2 - y1;
501 /* Floor of x1, y1, x2, y2 */
503 jint fy1 = y1 & MDP_W_MASK;
508 if (fx1 == x1 || fy1 == y1) {
513 ry1 = y1 + MDP_HALF_MULT;
515 /* Boundary at the direction from (x1,y1) to (x2,y2) */
517 jint by1 = (y1 < y2) ? fy1 + MDP_MULT : fy1;
520 jint cross = y1 + ((bx1 - x1)*dy)/dx;
526 cross = x1 + ((by1 - y1)*dx)/dy;
540 /* Boundary at the direction from (x2,y2) to (x1,y1) */
542 jint by2 = (y1 > y2) ? fy2 + MDP_MULT : fy2;
600 jint x1, y1;
637 y1 = y2;
658 hnd->pProcessFixedLine(hnd, x1, y1, x2, y2, pixelInfo, checkBounds,
1045 jint x1, y1;
1124 y1 = y2;
1145 hnd->pProcessFixedLine(hnd, x1, y1, x2, y2, pixelInfo, checkBounds,
1373 jfloat y1 = coord1[1];
1385 TESTANDCLIP(yMin, yMax, y1, x1, y2, x2, jfloat, res);
1388 TESTANDCLIP(yMin, yMax, y2, x2, y1, x1, jfloat, res);
1395 x1, y1, x2, y2, jfloat, res);
1399 x2, y2, x1, y1, jfloat, res);
1404 Y1 = (jint)(y1*MDP_MULT);
1423 CLIPCLAMP(xMin, xMax, x1, y1, x2, y2, x3, y3, jfloat, res);
1425 Y1 = (jint)(y1*MDP_MULT);
1440 CLIPCLAMP(xMin, xMax, x2, y2, x1, y1, x3, y3, jfloat, res);
2094 void StoreFixedLine(ProcessHandler* hnd,jint x1,jint y1,jint x2,jint y2,
2118 TESTANDCLIP(outYMin, outYMax, y1, x1, y2, x2, jint, res);
2120 TESTANDCLIP(outYMin, outYMax, y2, x2, y1, x1, jint, res);
2125 CLIPCLAMP(outXMin, outXMax, x1, y1, x2, y2, x3, y3, jint, res);
2129 StoreFixedLine(hnd, x3, y3, x1, y1, pixelInfo,
2137 CLIPCLAMP(outXMin, outXMax, x2, y2, x1, y1, x3, y3, jint, res);
2142 StoreFixedLine(hnd, x1, y1, x2, y2, pixelInfo,
2159 FD_ADD_POINT(pfd, x1, y1, JNI_FALSE);