Searched refs:MDP_MULT (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DProcessPath.h41 #define MDP_MULT (1<<MDP_PREC) macro
42 #define MDP_HALF_MULT (MDP_MULT >> 1)
47 #define MDP_W_MASK (-MDP_MULT)
52 #define MDP_F_MASK (MDP_MULT-1)
H A DProcessPath.c303 #define EPSF (((jfloat)EPSFX)/MDP_MULT)
477 /* Checking if line is inside a (X,Y),(X+MDP_MULT,Y+MDP_MULT) box */
516 jint bx1 = (x1 < x2) ? fx1 + MDP_MULT : fx1;
517 jint by1 = (y1 < y2) ? fy1 + MDP_MULT : fy1;
521 if (cross >= fy1 && cross <= fy1 + MDP_MULT) {
541 jint bx2 = (x1 > x2) ? fx2 + MDP_MULT : fx2;
542 jint by2 = (y1 > y2) ? fy2 + MDP_MULT : fy2;
546 if (cross >= fy2 && cross <= fy2 + MDP_MULT) {
570 jint x0 = (jint)(coords[0]*MDP_MULT);
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DProcessPath.java186 private static final int MDP_MULT = 1 << MDP_PREC; field in class:ProcessPath
187 private static final int MDP_HALF_MULT = MDP_MULT >> 1;
208 public static final float EPSF = ((float)EPSFX)/MDP_MULT;
213 private static final int MDP_W_MASK = -MDP_MULT;
218 private static final int MDP_F_MASK = MDP_MULT - 1;
579 /* Checking if line is inside a (X,Y),(X+MDP_MULT,Y+MDP_MULT) box */
618 int bx1 = (x1 < x2) ? fx1 + MDP_MULT : fx1;
619 int by1 = (y1 < y2) ? fy1 + MDP_MULT : fy1;
623 if (cross >= fy1 && cross <= fy1 + MDP_MULT) {
[all...]

Completed in 37 milliseconds