Lines Matching refs:jint

115         jint X0 = (fX0) >> MDP_PREC;                                        \
116 jint Y0 = (fY0) >> MDP_PREC; \
117 jint X1 = (fX1) >> MDP_PREC; \
118 jint Y1 = (fY1) >> MDP_PREC; \
119 jint res; \
133 TESTANDCLIP(yMinf, yMaxf, Y0, X0, Y1, X1, jint, res); \
135 TESTANDCLIP(yMinf, yMaxf, Y1, X1, Y0, X0, jint, res); \
137 TESTANDCLIP(xMinf, xMaxf, X0, Y0, X1, Y1, jint, res); \
139 TESTANDCLIP(xMinf, xMaxf, X1, Y1, X0, Y0, jint, res); \
192 jint _X = (fX)>> MDP_PREC; \
193 jint _Y = (fY)>> MDP_PREC; \
473 void ProcessFixedLine(ProcessHandler* hnd,jint x1,jint y1,jint x2,jint y2,
474 jint* pixelInfo,jboolean checkBounds,
478 jint c = ((x1 ^ x2) | (y1 ^ y2));
479 jint rx1, ry1, rx2, ry2;
498 jint dx = x2 - x1;
499 jint dy = y2 - y1;
502 jint fx1 = x1 & MDP_W_MASK;
503 jint fy1 = y1 & MDP_W_MASK;
504 jint fx2 = x2 & MDP_W_MASK;
505 jint fy2 = y2 & MDP_W_MASK;
516 jint bx1 = (x1 < x2) ? fx1 + MDP_MULT : fx1;
517 jint by1 = (y1 < y2) ? fy1 + MDP_MULT : fy1;
520 jint cross = y1 + ((bx1 - x1)*dy)/dx;
541 jint bx2 = (x1 > x2) ? fx2 + MDP_MULT : fx2;
542 jint by2 = (y1 > y2) ? fy2 + MDP_MULT : fy2;
545 jint cross = y2 + ((bx2 - x2)*dy)/dx;
568 jint* pixelInfo)
570 jint x0 = (jint)(coords[0]*MDP_MULT);
571 jint y0 = (jint)(coords[1]*MDP_MULT);
573 jint xe = (jint)(coords[4]*MDP_MULT);
574 jint ye = (jint)(coords[5]*MDP_MULT);
577 jint px = (x0 & (~MDP_W_MASK)) << DF_QUAD_SHIFT;
578 jint py = (y0 & (~MDP_W_MASK)) << DF_QUAD_SHIFT;
581 jint count = DF_QUAD_COUNT;
584 jint shift = DF_QUAD_SHIFT;
586 jint ax = (jint)((coords[0] - 2*coords[2] +
588 jint ay = (jint)((coords[1] - 2*coords[3] +
591 jint bx = (jint)((-2*coords[0] + 2*coords[2])*QUAD_B_MDP_MULT);
592 jint by = (jint)((-2*coords[1] + 2*coords[3])*QUAD_B_MDP_MULT);
594 jint ddpx = 2*ax;
595 jint ddpy = 2*ay;
597 jint dpx = ax + bx;
598 jint dpy = ay + by;
600 jint x1, y1;
602 jint x2 = x0;
603 jint y2 = y0;
605 jint maxDD = MAX(ABS32(ddpx),ABS32(ddpy));
606 jint x0w = x0 & MDP_W_MASK;
607 jint y0w = y0 & MDP_W_MASK;
609 jint dx = xe - x0;
610 jint dy = ye - y0;
678 jint* pixelInfo) {
759 jint* pixelInfo, jfloat t)
780 static void ProcessQuad(ProcessHandler* hnd, jfloat* coords, jint* pixelInfo) {
788 jint cnt = 0;
996 jint* pixelInfo)
998 jint x0 = (jint)(coords[0]*MDP_MULT);
999 jint y0 = (jint)(coords[1]*MDP_MULT);
1001 jint xe = (jint)(coords[6]*MDP_MULT);
1002 jint ye = (jint)(coords[7]*MDP_MULT);
1005 jint px = (x0 & (~MDP_W_MASK)) << DF_CUB_SHIFT;
1006 jint py = (y0 & (~MDP_W_MASK)) << DF_CUB_SHIFT;
1012 jint incStepBnd1 = DF_CUB_INC_BND;
1013 jint incStepBnd2 = DF_CUB_INC_BND << 1;
1014 jint decStepBnd1 = DF_CUB_DEC_BND;
1015 jint decStepBnd2 = DF_CUB_DEC_BND << 1;
1018 jint count = DF_CUB_COUNT;
1021 jint shift = DF_CUB_SHIFT;
1023 jint ax = (jint)((-coords[0] + 3*coords[2] - 3*coords[4] +
1025 jint ay = (jint)((-coords[1] + 3*coords[3] - 3*coords[5] +
1028 jint bx = (jint)((3*coords[0] - 6*coords[2] +
1030 jint by = (jint)((3*coords[1] - 6*coords[3] +
1033 jint cx = (jint)((-3*coords[0] + 3*coords[2])*(CUB_C_MDP_MULT));
1034 jint cy = (jint)((-3*coords[1] + 3*coords[3])*(CUB_C_MDP_MULT));
1036 jint dddpx = 6*ax;
1037 jint dddpy = 6*ay;
1039 jint ddpx = dddpx + bx;
1040 jint ddpy = dddpy + by;
1042 jint dpx = ax + (bx>>1) + cx;
1043 jint dpy = ay + (by>>1) + cy;
1045 jint x1, y1;
1047 jint x2 = x0;
1048 jint y2 = y0;
1051 jint x0w = x0 & MDP_W_MASK;
1052 jint y0w = y0 & MDP_W_MASK;
1054 jint dx = xe - x0;
1055 jint dy = ye - y0;
1161 jint* pixelInfo) {
1254 jfloat* coords, jint* pixelInfo,
1284 static void ProcessCubic(ProcessHandler* hnd, jfloat* coords, jint* pixelInfo)
1291 jint cnt = 0, i;
1340 jint j;
1367 jfloat *coord1, jfloat *coord2, jint* pixelInfo) {
1370 jint X1, Y1, X2, Y2, X3, Y3, res;
1403 X1 = (jint)(x1*MDP_MULT);
1404 Y1 = (jint)(y1*MDP_MULT);
1405 X2 = (jint)(x2*MDP_MULT);
1406 Y2 = (jint)(y2*MDP_MULT);
1424 X1 = (jint)(x1*MDP_MULT);
1425 Y1 = (jint)(y1*MDP_MULT);
1429 X3 = (jint)(x3*MDP_MULT);
1430 Y3 = (jint)(y3*MDP_MULT);
1445 X2 = (jint)(x2*MDP_MULT);
1446 Y2 = (jint)(y2*MDP_MULT);
1452 X3 = (jint)(x3*MDP_MULT);
1453 Y3 = (jint)(y3*MDP_MULT);
1462 jfloat* coords, jint maxCoords,
1463 jbyte* types, jint numTypes)
1467 jint pixelInfo[5];
1739 jint x;
1740 jint y;
1751 jint x;
1752 jint dx;
1754 jint dir;
1772 jint plgSize;
1773 jint plgMax;
1774 jint plgYMin;
1775 jint plgYMax;
1788 jint _size = (PTR)->plgSize; \
1790 jint newMax = (PTR)->plgMax*2; \
1846 jint wasSwap = 1; \
1907 jint dX = np->x - pnt->x; \
1908 jint dY = np->y - pnt->y; \
1909 jint dy; \
1928 ne->dx = (jint)((((jdouble)dX)*MDP_MULT)/dY); \
1929 ne->x += (jint)((((jdouble)dX)*dy)/dY); \
1946 jint fillRule) {
1947 jint k, y, xl, xr;
1948 jint drawing;
1951 jint nact;
1952 jint n;
1956 jint rightBnd = hnd->dhnd->xMax - 1;
1958 jint yMin = pfd->plgYMin;
1959 jint yMax = pfd->plgYMax;
1960 jint hashSize = ((yMax - yMin)>>MDP_PREC) + 4;
1965 jint hashOffset = ((yMin - 1) & MDP_W_MASK);
1972 jint counter;
1975 jint counterMask =
2094 void StoreFixedLine(ProcessHandler* hnd,jint x1,jint y1,jint x2,jint y2,
2095 jint* pixelInfo,jboolean checkBounds,
2098 jint outXMin, outXMax, outYMin, outYMax;
2099 jint x3, y3, res;
2113 outXMin = (jint)(hnd->dhnd->xMinf * MDP_MULT);
2114 outXMax = (jint)(hnd->dhnd->xMaxf * MDP_MULT);
2115 outYMin = (jint)(hnd->dhnd->yMinf * MDP_MULT);
2116 outYMax = (jint)(hnd->dhnd->yMaxf * MDP_MULT);
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);
2137 CLIPCLAMP(outXMin, outXMax, x2, y2, x1, y1, x3, y3, jint, res);
2181 jint transX, jint transY,
2182 jfloat* coords, jint maxCoords,
2183 jbyte* types, jint numTypes,
2184 PHStroke stroke, jint fillRule)
2186 jint res;
2222 jint transX, jint transY,
2223 jfloat* coords, jint maxCoords,
2224 jbyte* types, jint numTypes, PHStroke stroke)