/openjdk7/jdk/src/share/classes/sun/awt/geom/ |
H A D | Order1.java | 34 private double y0; field in class:Order1 40 public Order1(double x0, double y0, argument 46 this.y0 = y0; 67 return y0; 91 return (direction == INCREASING) ? y0 : y1; 99 return (direction == DECREASING) ? y0 : y1; 103 if (x0 == x1 || y <= y0) { 109 // assert(y0 != y1); /* No horizontal lines... */ 110 return (x0 + (y - y0) * (x [all...] |
H A D | Order2.java | 35 private double y0; field in class:Order2 51 double x0, double y0, 56 int numparams = getHorizontalParams(y0, cy0, y1, tmp); 60 addInstance(curves, x0, y0, cx0, cy0, x1, y1, direction); 65 tmp[0] = x0; tmp[1] = y0; 78 double x0, double y0, 82 if (y0 > y1) { 83 curves.add(new Order2(x1, y1, cx0, cy0, x0, y0, -direction)); 84 } else if (y1 > y0) { 85 curves.add(new Order2(x0, y0, cx 50 insert(Vector curves, double tmp[], double x0, double y0, double cx0, double cy0, double x1, double y1, int direction) argument 77 addInstance(Vector curves, double x0, double y0, double cx0, double cy0, double x1, double y1, int direction) argument 160 Order2(double x0, double y0, double cx0, double cy0, double x1, double y1, int direction) argument [all...] |
H A D | Curve.java | 46 double x0, double y0, 49 if (y0 < y1) { 50 curves.add(new Order1(x0, y0, 53 } else if (y0 > y1) { 55 x0, y0, 63 double x0, double y0, 67 if (y0 > y1) { 71 x0, y0, 73 } else if (y0 == y1 && y0 45 insertLine(Vector curves, double x0, double y0, double x1, double y1) argument 62 insertQuad(Vector curves, double x0, double y0, double coords[]) argument 85 insertCubic(Vector curves, double x0, double y0, double coords[]) argument 210 pointCrossingsForLine(double px, double py, double x0, double y0, double x1, double y1) argument 234 pointCrossingsForQuad(double px, double py, double x0, double y0, double xc, double yc, double x1, double y1, int level) argument 285 pointCrossingsForCubic(double px, double py, double x0, double y0, double xc0, double yc0, double xc1, double yc1, double x1, double y1, int level) argument 481 rectCrossingsForLine(int crossings, double rxmin, double rymin, double rxmax, double rymax, double x0, double y0, double x1, double y1) argument 555 rectCrossingsForQuad(int crossings, double rxmin, double rymin, double rxmax, double rymax, double x0, double y0, double xc, double yc, double x1, double y1, int level) argument 631 rectCrossingsForCubic(int crossings, double rxmin, double rymin, double rxmax, double rymax, double x0, double y0, double xc0, double yc0, double xc1, double yc1, double x1, double y1, int level) argument 1181 refineTforY(double t0, double yt0, double y0) argument [all...] |
H A D | Crossings.java | 190 public boolean accumulateLine(double x0, double y0, argument 193 if (y0 <= y1) { 194 return accumulateLine(x0, y0, x1, y1, 1); 196 return accumulateLine(x1, y1, x0, y0, -1); 200 public boolean accumulateLine(double x0, double y0, argument 204 if (yhi <= y0 || ylo >= y1) { 210 if (y0 == y1) { 215 double dy = (y1 - y0); 216 if (y0 < ylo) { 217 xstart = x0 + (ylo - y0) * d 242 accumulateQuad(double x0, double y0, double coords[]) argument 272 accumulateCubic(double x0, double y0, double coords[]) argument [all...] |
H A D | Order3.java | 35 private double y0; field in class:Order3 57 double x0, double y0, 63 int numparams = getHorizontalParams(y0, cy0, cy1, y1, tmp); 67 addInstance(curves, x0, y0, cx0, cy0, cx1, cy1, x1, y1, direction); 71 tmp[3] = x0; tmp[4] = y0; 109 double x0, double y0, 114 if (y0 > y1) { 115 curves.add(new Order3(x1, y1, cx1, cy1, cx0, cy0, x0, y0, 117 } else if (y1 > y0) { 118 curves.add(new Order3(x0, y0, cx 56 insert(Vector curves, double tmp[], double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction) argument 108 addInstance(Vector curves, double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction) argument 226 Order3(double x0, double y0, double cx0, double cy0, double cx1, double cy1, double x1, double y1, int direction) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftCubicResampler.java | 50 float y0 = in[iix - 1]; 54 float a0 = y3 - y2 + y1 - y0; 55 float a1 = y0 - y1 - a0; 56 float a2 = y2 - y0; 67 float y0 = in[iix - 1]; 71 float a0 = y3 - y2 + y1 - y0; 72 float a1 = y0 - y1 - a0; 73 float a2 = y2 - y0;
|
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | PiscesCache.java | 49 // the row terminated). x0,y0 is this (x,y)-(bboxX0,bboxY0). They 51 private int x0 = Integer.MIN_VALUE, y0 = Integer.MIN_VALUE; field in class:PiscesCache 73 y0 = -1; // -1 makes the first assert in startRow succeed 83 addTupleToRow(y0, val, runLen); 87 int ty = y0 >> TILE_SIZE_LG; 111 // System.out.println("x0, y0: " + x0 + ", " + y0); 131 assert y - bboxY0 > y0; 134 y0 = y - bboxY0; 136 assert rowAARLE[y0][ [all...] |
H A D | Dasher.java | 57 private float x0, y0; field in class:Dasher 97 public void moveTo(float x0, float y0) { argument 107 this.sy = this.y0 = y0; 141 // precondition: pts must be in relative coordinates (relative to x0,y0) 155 out.moveTo(x0, y0); 165 this.y0 = y; 170 float dy = y1 - y0; 203 curCurvepts[1] = y0 + dashdy; 207 curCurvepts[1] = y0 [all...] |
H A D | Renderer.java | 170 private void quadBreakIntoLinesAndAdd(float x0, float y0, argument 193 float y1 = y0 + dy; 195 addLine(x0, y0, x1, y1); 197 y0 = y1; 199 addLine(x0, y0, x2, y2); 202 // x0, y0 and x3,y3 are the endpoints of the curve. We could compute these 207 private void curveBreakIntoLinesAndAdd(float x0, float y0, argument 225 // we use x0, y0 to walk the line 226 float x1 = x0, y1 = y0; 259 addLine(x0, y0, x 332 private float x0, y0; field in class:Renderer [all...] |
H A D | Stroker.java | 289 // Put the intersection point of the lines (x0, y0) -> (x1, y1) 292 private void computeIntersection(final float x0, final float y0, argument 299 float y10 = y1 - y0; 304 float t = x10p*(y0-y0p) - y10p*(x0-x0p); 307 m[off] = y0 + t*y10; 311 final float x0, final float y0, 330 computeIntersection((x0 - pdx) + omx, (y0 - pdy) + omy, x0 + omx, y0 + omy, 331 (dx + x0) + mx, (dy + y0) + my, x0 + mx, y0 310 drawMiter(final float pdx, final float pdy, final float x0, final float y0, final float dx, final float dy, float omx, float omy, float mx, float my, boolean rev) argument 346 moveTo(float x0, float y0) argument 450 emitMoveTo(final float x0, final float y0) argument 468 emitQuadTo(final float x0, final float y0, final float x1, final float y1, final float x2, final float y2, final boolean rev) argument 479 emitCurveTo(final float x0, final float y0, final float x1, final float y1, final float x2, final float y2, final float x3, final float y3, final boolean rev) argument 495 drawJoin(float pdx, float pdy, float x0, float y0, float dx, float dy, float omx, float omy, float mx, float my) argument 1139 pushCubic(float x0, float y0, float x1, float y1, float x2, float y2) argument 1153 pushQuad(float x0, float y0, float x1, float y1) argument [all...] |
H A D | TransformingPathConsumer2D.java | 128 public void moveTo(float x0, float y0) { argument 129 out.moveTo(x0 + tx, y0 + ty); 182 public void moveTo(float x0, float y0) { argument 183 out.moveTo(x0 * sx + tx, y0 * sy + ty); 241 public void moveTo(float x0, float y0) { argument 242 out.moveTo(x0 * Mxx + y0 * Mxy + Mxt, 243 x0 * Myx + y0 * Myy + Myt); 295 public void moveTo(float x0, float y0) { argument 296 out.moveTo(x0 * sx, y0 * sy); 350 public void moveTo(float x0, float y0) { argument [all...] |
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/ |
H A D | w_j0.c | 28 * wrapper j0(double x), y0(double x) 53 double y0(double x) /* wrapper y0 */ function 55 double y0(x) /* wrapper y0 */ 74 return __kernel_standard(x,x,35); /* y0(x>X_TLOSS) */
|
/openjdk7/jdk/test/sun/java2d/cmm/ColorConvertOp/ |
H A D | ImageComparator.java | 116 boolean compare(BufferedImage dst, BufferedImage gldImage, int x0, int y0, argument 124 if (y0 < 0) y0 = 0; 125 if (y0 > height - dy) y0 = height - dy; 131 for (int j = y0; j < y0 + dy; j++) { 132 boolean cmp = compare(dst.getRGB(i-x0,j-y0),
|
H A D | ColConvCCMTest.java | 91 static boolean testSubImage(int x0, int y0, int dx, int dy, argument 97 BufferedImage subSrc = src.getSubimage(x0, y0, dx, dy); 100 BufferedImage subDst = dst.getSubimage(x0, y0, dx, dy); 106 boolean result = cmp.compare(subDst, gldImage, x0, y0, dx, dy);
|
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | ParallelogramUtils.h | 64 #define SORT_PGRAM(x0, y0, dx1, dy1, dx2, dy2, OTHER_SWAP_CODE) \ 67 x0 += dx1; y0 += dy1; \ 71 x0 += dx2; y0 += dy2; \
|
H A D | FillParallelogram.c | 41 jdouble x0, jdouble y0, 60 SORT_PGRAM(x0, y0, dx1, dy1, dx2, dy2, ); 63 iy1 = (jint) floor(y0 + 0.5); 64 iy2 = (jint) floor(y0 + dy1 + dy2 + 0.5); 105 dy1 += y0; 107 dy2 += y0; 116 jlong lx = PGRAM_INIT_X(loy, x0, y0, lslope); 117 jlong rx = PGRAM_INIT_X(loy, x0, y0, rslope); 127 /* left leg turned a corner at y0+dy1 */ 128 /* right leg continuing on its initial trajectory from y0 */ 38 Java_sun_java2d_loops_FillParallelogram_FillParallelogram(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jdouble x0, jdouble y0, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2) argument [all...] |
H A D | ProcessPath.h | 56 jint x0, jint y0, jint x1, jint y1); 58 void (*pDrawPixel)(struct _DrawHandler* hnd, jint x0, jint y0); 60 void (*pDrawScanline)(struct _DrawHandler* hnd, jint x0, jint x1, jint y0);
|
H A D | DrawParallelogram.c | 48 jdouble y0; member in struct:__anon912 59 (pEDGE)->y0 = (Y0); \ 94 jdouble x0, jdouble y0, 114 SORT_PGRAM(x0, y0, dx1, dy1, dx2, dy2, 125 oy0 = y0 - (ldy1 + ldy2) / 2.0; 190 y3 = (dy1 += y0); 194 dy2 += y0; 196 HANDLE_PGRAM_EDGE( x0, y0, dx1, dy1, 202 HANDLE_PGRAM_EDGE(dx2, dy2, x0, y0, 287 pLeft->x0, pLeft->y0, 91 Java_sun_java2d_loops_DrawParallelogram_DrawParallelogram(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jdouble x0, jdouble y0, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2, jdouble lw1, jdouble lw2) argument [all...] |
H A D | DrawPath.c | 38 jint x0, jint y0, jint x1, jint y1) 45 x0, y0, x1, y1, 0); 48 static void processPoint(DrawHandler* hnd, jint x0, jint y0) argument 51 DHND(hnd)->pRasInfo, x0, y0, DHND(hnd)->pixel, 1, 0, 37 processLine(DrawHandler* hnd, jint x0, jint y0, jint x1, jint y1) argument
|
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | FillParallelogram.java | 78 double x0, double y0, 110 double x0, double y0, 115 target.FillParallelogram(sg2d, dest, x0, y0, dx1, dy1, dx2, dy2); 77 FillParallelogram(SunGraphics2D sg2d, SurfaceData dest, double x0, double y0, double dx1, double dy1, double dx2, double dy2) argument 109 FillParallelogram(SunGraphics2D sg2d, SurfaceData dest, double x0, double y0, double dx1, double dy1, double dx2, double dy2) argument
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifTextUI.java | 137 int y0 = r.y + 1; 140 g.drawLine(r.x, y0, r.x, y1); 141 g.drawLine(x0, y0, x1, y0);
|
/openjdk7/jdk/test/java/awt/Mouse/MouseModifiersUnitTest/ |
H A D | ExtraButtonDrag.java | 104 public static void dragMouse(int button, int x0, int y0, int x1, int y1){ argument 106 int curY = y0; 108 int dy = y0 < y1 ? 1 : -1; 109 robot.mouseMove(x0, y0);
|
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/ |
H A D | cmsintrp.c | 193 cmsUInt16Number y1, y0; local 211 y0 = LutTable[cell0]; 215 Output[0] = LinearInterp(rest, y0, y1); 225 cmsFloat32Number y1, y0; local 244 y0 = LutTable[cell0] ; 247 Output[0] = y0 + (y1 - y0) * rest; 289 cmsFloat32Number y1, y0; local 314 y0 = LutTable[cell0 + OutChan] ; 317 Output[OutChan] = y0 333 int x0, y0, local 388 int x0, y0; local 445 int x0, y0, z0, local 530 int x0, y0, z0; local 603 int x0, y0, z0, local 716 int x0, y0, z0; local 853 int x0, y0, z0; local 1064 cmsFloat32Number y0 = Tmp1[i]; local 1152 cmsFloat32Number y0 = Tmp1[i]; local 1239 cmsFloat32Number y0 = Tmp1[i]; local 1325 cmsFloat32Number y0 = Tmp1[i]; local 1410 cmsFloat32Number y0 = Tmp1[i]; local [all...] |
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/ |
H A D | mlib_v_ImageZoom_NN_f.c | 96 mlib_s32 y0 = -1, dx7 = 7*dx, dx15 = 8*dx + dx7; local 103 if ((y0 >> MLIB_SHIFT) == (y >> MLIB_SHIFT)) { 151 y0 = y; 166 mlib_s32 cx, y0 = -1, dx7 = 7*dx, dx15 = 8*dx + dx7; local 173 if ((y0 >> MLIB_SHIFT) == (y >> MLIB_SHIFT)) { 272 y0 = y; 287 mlib_s32 cx, y0 = -1, dx3 = 3*dx, dx7 = 4*dx + dx3; local 294 if ((y0 >> MLIB_SHIFT) == (y >> MLIB_SHIFT)) { 365 y0 = y; 380 mlib_s32 y0 local [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/pipe/ |
H A D | ShapeSpanIterator.c | 107 jfloat x0, jfloat y0, 110 jfloat x0, jfloat y0, 114 jfloat x0, jfloat y0, 119 jfloat x0, jfloat y0, 229 #define HANDLEMOVETO(pd, x0, y0, OOMERR) \ 232 ADJUST1(pd, x0, y0); \ 234 pd->movy = y0; \ 235 PDBOXPOINT(pd, x0, y0); \ 237 pd->cury = y0; \ 673 (JNIEnv *env, jobject sr, jfloat x0, jfloat y0) 672 Java_sun_java2d_pipe_ShapeSpanIterator_moveTo(JNIEnv *env, jobject sr, jfloat x0, jfloat y0) argument 777 PCMoveTo(PathConsumerVec *consumer, jfloat x0, jfloat y0) argument 919 ptSegDistSq(jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat px, jfloat py) argument 968 appendSegment(pathData *pd, jfloat x0, jfloat y0, jfloat x1, jfloat y1) argument 1056 subdivideLine(pathData *pd, int level, jfloat x0, jfloat y0, jfloat x1, jfloat y1) argument 1077 subdivideQuad(pathData *pd, int level, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2) argument 1119 subdivideCubic(pathData *pd, int level, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument 1249 jint x0, x1, y0, err; local [all...] |