/openjdk10/jdk/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | MaskFill.c | 65 rasInfo.bounds.y1 = y; 73 rasInfo.bounds.y2 > rasInfo.bounds.y1) 79 jint height = rasInfo.bounds.y2 - rasInfo.bounds.y1; 82 rasInfo.bounds.y1, rasInfo.scanStride); 92 maskoff += ((rasInfo.bounds.y1 - y) * maskscan + 118 jdouble x1, jdouble y1, jdouble x2, jdouble y2) 121 jint cy1 = pRasInfo->bounds.y1; 125 jint ry1 = (jint) ceil(y1); 132 y1 = ry1-y1; 115 fillAARect(NativePrimitive *pPrim, SurfaceDataRasInfo *pRasInfo, CompositeInfo *pCompInfo, jint color, unsigned char *pMask, void *pDst, jdouble x1, jdouble y1, jdouble x2, jdouble y2) argument 546 fillAAPgram(NativePrimitive *pPrim, SurfaceDataRasInfo *pRasInfo, CompositeInfo *pCompInfo, jint color, unsigned char *pMask, void *pDst, jdouble x1, jdouble y1, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2) argument [all...] |
H A D | ProcessPath.c | 451 * (x1, y1), (x2, y2) - fixed point coordinates of the endpoints 473 void ProcessFixedLine(ProcessHandler* hnd,jint x1,jint y1,jint x2,jint y2, argument 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) { 600 jint x1, y1; local 1045 jint x1, y1; local 1373 jfloat y1 = coord1[1]; local 2094 StoreFixedLine(ProcessHandler* hnd,jint x1,jint y1,jint x2,jint y2, jint* pixelInfo,jboolean checkBounds, jboolean endSubPath) argument [all...] |
H A D | DrawPath.c | 38 jint x0, jint y0, jint x1, jint y1) 45 x0, y0, x1, y1, 0); 127 rasInfo.bounds.y2 > rasInfo.bounds.y1); 134 rasInfo.bounds.y2 > rasInfo.bounds.y1) 162 drawHandler.yMin = rasInfo.bounds.y1; 37 processLine(DrawHandler* hnd, jint x0, jint y0, jint x1, jint y1) argument
|
H A D | FillPath.c | 117 rasInfo.bounds.y2 > rasInfo.bounds.y1); 124 rasInfo.bounds.y2 > rasInfo.bounds.y1) 151 drawHandler.yMin = rasInfo.bounds.y1;
|
/openjdk10/jdk/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBlitLoops.c | 479 srcInfo.bounds.y1 = sy1; 487 srcInfo.bounds.y2 > srcInfo.bounds.y1) 493 if (srcInfo.bounds.y1 != sy1) { 494 dy1 += (srcInfo.bounds.y1 - sy1) * (dh / sh); 495 sy1 = srcInfo.bounds.y1; 602 srcInfo.bounds.y1 = sy1; 613 srcInfo.bounds.y2 > srcInfo.bounds.y1) 621 if (srcInfo.bounds.y1 != sy1) { 622 dy1 += (srcInfo.bounds.y1 - sy1) * (dh / sh); 623 sy1 = srcInfo.bounds.y1; [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/geom/ |
H A D | Crossings.java | 191 double x1, double y1) 193 if (y0 <= y1) { 194 return accumulateLine(x0, y0, x1, y1, 1); 196 return accumulateLine(x1, y1, x0, y0, -1); 201 double x1, double y1, 204 if (yhi <= y0 || ylo >= y1) { 210 if (y0 == y1) { 215 double dy = (y1 - y0); 223 if (yhi < y1) { 228 yend = y1; 190 accumulateLine(double x0, double y0, double x1, double y1) argument 200 accumulateLine(double x0, double y0, double x1, double y1, int direction) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pisces/ |
H A D | Dasher.java | 168 public void lineTo(float x1, float y1) { argument 170 float dy = y1 - y0; 187 curCurvepts[1] = y1; 515 final float x1 = curve[i], y1 = curve[i+1]; 516 final float len = Helpers.linelen(x0, y0, x1, y1); 520 y0 = y1; 532 public void curveTo(float x1, float y1, argument 537 curCurvepts[2] = x1; curCurvepts[3] = y1; 544 public void quadTo(float x1, float y1, float x2, float y2) { argument 546 curCurvepts[2] = x1; curCurvepts[3] = y1; [all...] |
/openjdk10/jdk/src/java.desktop/unix/native/libawt_xawt/awt/ |
H A D | multiVis.c | 84 short x1, x2, y1, y2; member in struct:__anon1262 454 - MAX( vis_reg->rects[rect].y1, bbox.y); 459 diff = bbox.y - vis_reg->rects[rect].y1; 460 srcRect_y = MAX( 0, diff) + (vis_reg->rects[rect].y1 - reg->y_rootrel - reg->border); 502 int32_t x1, y1; local 565 for (y1 = 0; y1 < srcRect_height; y1++) { 576 pixel = (int32_t) XGetPixel(ximage_ipm,dst_x+x1,dst_y+y1) ; 577 XPutPixel(ximage,dst_x+x1, dst_y+y1,(unsigne [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/geom/ |
H A D | Arc2D.java | 960 * @param y1 The Y coordinate of the arc's starting point. 965 public void setAngles(double x1, double y1, double x2, double y2) { argument 973 double ang1 = Math.atan2(w * (y - y1), h * (x1 - x)); 1054 double x1, y1, x2, y2; 1056 x1 = y1 = x2 = y2 = 0.0; 1058 x1 = y1 = 1.0; 1080 y1 = Math.min(y1, ye); 1087 y2 = (y2 - y1) * 0.5 * h; 1089 y1 [all...] |
H A D | Path2D.java | 458 public final synchronized void quadTo(double x1, double y1, argument 464 floatCoords[numCoords++] = (float) y1; 473 * using the specified point {@code (x1,y1)} as a quadratic 482 * @param y1 the Y coordinate of the quadratic control point 488 public final synchronized void quadTo(float x1, float y1, argument 494 floatCoords[numCoords++] = y1; 503 public final synchronized void curveTo(double x1, double y1, argument 510 floatCoords[numCoords++] = (float) y1; 521 * using the specified points {@code (x1,y1)} and {@code (x2,y2)} as 530 * @param y1 th 538 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument 1298 quadTo(double x1, double y1, double x2, double y2) argument 1313 curveTo(double x1, double y1, double x2, double y2, double x3, double y3) argument 1877 quadTo(double x1, double y1, double x2, double y2) argument 1896 curveTo(double x1, double y1, double x2, double y2, double x3, double y3) argument [all...] |
/openjdk10/jdk/make/src/classes/build/tools/generatenimbus/ |
H A D | PainterGenerator.java | 230 float y1 = encode((float)rshape.getY1(), c, d, height); 240 " " + writeDecodeY(y1) + ", //y\n" + 242 " " + writeDecodeY(y2) + " - " + writeDecodeY(y1) + ", //height\n" + 249 " " + writeDecodeY(y1) + ", //y\n" + 251 " " + writeDecodeY(y2) + " - " + writeDecodeY(y1) + "); //height"; 257 float y1 = encode((float)eshape.getY1(), c, d, height); 263 " " + writeDecodeY(y1) + ", //y\n" + 265 " " + writeDecodeY(y2) + " - " + writeDecodeY(y1) + "); //height"; 283 float y1 = encode((float)last.getY(), c, d, height); 288 + writeDecodeBezierY(y1, las [all...] |
/openjdk10/jdk/src/demo/share/applets/DrawTest/ |
H A D | DrawTest.java | 112 int x1, y1; field in class:DrawPanel 144 lines.add(new Rectangle(x1, y1, e.getX(), e.getY())); 146 y1 = e.getY(); 162 y1 = e.getY(); 170 y1 = e.getY(); 182 lines.add(new Rectangle(x1, y1, e.getX(), e.getY())); 222 g.drawLine(x1, y1, x2, y2);
|
/openjdk10/jdk/src/java.desktop/windows/native/libawt/java2d/windows/ |
H A D | GDIBlitLoops.cpp | 68 srcInfo.bounds.y1 = srcy; 93 srcy = srcInfo.bounds.y1; 95 dsty = dstBounds.y1; 97 height = srcInfo.bounds.y2 - srcInfo.bounds.y1; 134 LONG dwHeight = srcInfo.bounds.y2 - srcInfo.bounds.y1;
|
/openjdk10/jdk/src/java.desktop/windows/classes/sun/java2d/d3d/ |
H A D | D3DGraphicsConfig.java | 179 int x1, int y1, int x2, int y2, 193 int sy1 = (int) Math.floor(y1 * scaleY); 198 D3DSurfaceData.swapBuffers(d3dsd, x1, y1, x2, y2); 205 x1, y1, x2, y2, 206 x1, y1, x2, y2, 177 flip(WComponentPeer peer, Component target, VolatileImage backBuffer, int x1, int y1, int x2, int y2, BufferCapabilities.FlipContents flipAction) argument
|
/openjdk10/jdk/src/java.desktop/unix/native/libawt/java2d/loops/ |
H A D | vis_DrawLine.c | 47 ADD_SUFF(AnyInt##FUNC)(pRasInfo, x1, y1, r_pixel, steps, error, \ 63 jint y1, \ 82 PTR_ADD(pPix, y1 * scan + x1 * ANYTYPE##PixelStride); \
|
/openjdk10/jdk/test/java/awt/image/DrawImage/ |
H A D | IncorrectClipSurface2SW.java | 119 int y1 = toBounds.y; 121 int y2 = y1 + toBounds.height; 122 big.drawImage(vi, x1, y1, x2, y2, 0, 0, toBounds.width / scale,
|
/openjdk10/jdk/test/sun/java2d/SunGraphics2D/ |
H A D | DrawImageBilinear.java | 141 int y1 = affectedRegion.y; 143 int y2 = y1 + affectedRegion.height; 145 for (int y = y1; y < y2; y++) {
|
/openjdk10/jdk/test/java/awt/Choice/PopdownGeneratesMouseEvents/ |
H A D | PopdownGeneratesMouseEvents.java | 112 int y1 = pt.y + getHeight() * 2; 115 Util.mouseMove(robot, new Point(x1, y0), new Point(x1, y1));
|
/openjdk10/jdk/test/sun/java2d/OpenGL/ |
H A D | CopyAreaOOB.java | 79 int x1, int y1, int x2, int y2, 82 for (int y = y1; y < y2; y++) { 78 testRegion(BufferedImage bi, String name, int x1, int y1, int x2, int y2, int expected) argument
|
/openjdk10/jdk/test/javax/swing/JMenuItem/4654927/ |
H A D | bug4654927.java | 104 int y1 = itemLocation.y + 10; 112 Util.glide(robot, x0, y0, x1, y1);
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/marlin/ |
H A D | DRenderer.java | 206 double x1, y1; 211 y1 = y0 + dy; 214 addLine(x0, y0, x1, y1); 218 y0 = y1; 253 double x1 = x0, y1 = y0; 296 y1 += dy; 301 y1 = y3; 304 addLine(x0, y0, x1, y1); 308 y0 = y1; 315 private void addLine(double x1, double y1, doubl argument 691 curveTo(double x1, double y1, double x2, double y2, double x3, double y3) argument 705 quadTo(double x1, double y1, double x2, double y2) argument [all...] |
H A D | MarlinTileGenerator.java | 231 final int y1 = FloatMath.min(this.y + TILE_H, _cache.bboxY1) - this.y; 235 + "[ [" + y0 + " ... " + y1 + "["); 248 for (int cy = y0, cx; cy < y1; cy++) { 342 final int y1 = FloatMath.min(this.y + TILE_H, _cache.bboxY1) - this.y; 346 + "[ [" + y0 + " ... " + y1 + "["); 354 if ((w >= FILL_TILE_W) && (area = w * y1) > 64) { // 64 / 4 ie 16 words min (faster) 389 Arrays.fill(tile, offset, offset + (y1 * rowstride), refVal); 391 for (cy = y0; cy < y1; cy++) { 524 for (cy = y0; cy < y1; cy++) { 654 Arrays.fill(tile, offset, offset + (y1 * rowstrid [all...] |
H A D | Renderer.java | 207 float x1, y1; 212 y1 = y0 + dy; 215 addLine(x0, y0, x1, y1); 219 y0 = y1; 254 float x1 = x0, y1 = y0; 297 y1 += dy; 302 y1 = y3; 305 addLine(x0, y0, x1, y1); 309 y0 = y1; 316 private void addLine(float x1, float y1, floa argument 695 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument 709 quadTo(float x1, float y1, float x2, float y2) argument [all...] |
/openjdk10/jdk/src/java.desktop/unix/native/common/java2d/x11/ |
H A D | X11SurfaceData.c | 810 if (pRasInfo->bounds.y1 < 0) { 811 pRasInfo->bounds.y1 = 0; 851 xpriv->y = pRasInfo->bounds.y1; 861 y = pRasInfo->bounds.y1; 976 short x1=0, y1=0, x2=0, y2=0; local 995 y1 = -(y1 + tmpy); 998 y2 = y1 + DisplayHeight(awt_display, xsdo->configData->awt_visInfo.screen); 1001 y1 = XSD_MAX(bounds->y1, y 1432 Java_sun_java2d_x11_XSurfaceData_XSetClip(JNIEnv *env, jclass xsd, jlong xgc, jint x1, jint y1, jint x2, jint y2, jobject complexclip) argument [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/lang/ |
H A D | FdLibm.java | 183 * t1*y1 + ((x-y) * (x-y) + (t1*y2 + t2*y)) 185 * y1= y with lower 32 bits chopped, y2 = y - y1. 286 double y1, y2; 288 y1 = 0; 289 y1 = __HI(y1, hb); 290 y2 = b - y1; 294 w = Math.sqrt(t1*y1 - (w*(-w) - (t1*y2 + t2*b))); 526 // Split up y into (y1 [all...] |