/openjdk7/jdk/src/windows/native/sun/java2d/windows/ |
H A D | GDIRenderer.cpp | 127 jint x1, jint y1, jint x2, jint y2) 131 " color=0x%x x1=%-4d y1=%-4d x2=%-4d y2=%-4d", 132 color, x1, y1, x2, y2); 140 if (x1 == x2 || y1 == y2) { 144 if (y1 > y2) { 145 jint t = y1; y1 = y2; y2 = t; 151 ::PatBlt(hdc, x1, y1, x2-x1+1, y2-y1+1, patrop); 158 ::LineTo(hdc, x2, y2); 159 ::PatBlt(hdc, x2, y2, 123 Java_sun_java2d_windows_GDIRenderer_doDrawLine(JNIEnv *env, jobject wr, jobject sData, jobject clip, jobject comp, jint color, jint x1, jint y1, jint x2, jint y2) argument [all...] |
/openjdk7/jdk/test/java/awt/Component/isLightweightCrash/ |
H A D | StubPeerCrash.java | 121 public void flip(int x1, int y1, int x2, int y2, BufferCapabilities.FlipContents flipAction){}; argument
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageScanPoly.c | 286 mlib_s32 y2; local 299 SAT32(y2); 301 if (y2 >= dstHeight) 302 y2 = (mlib_s32) (dstHeight - 1); 308 for (j = y1; j <= y2; j++) { 326 mlib_s32 y2; local 339 SAT32(y2); 341 if (y2 >= dstHeight) 342 y2 = (mlib_s32) (dstHeight - 1); 348 for (j = y1; j <= y2; [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | MaskFill.c | 67 rasInfo.bounds.y2 = y + h; 73 rasInfo.bounds.y2 > rasInfo.bounds.y1) 79 jint height = rasInfo.bounds.y2 - rasInfo.bounds.y1; 113 jdouble x1, jdouble y1, jdouble x2, jdouble y2) 118 jint cy2 = pRasInfo->bounds.y2; 122 jint ry2 = (jint) floor(y2); 129 y2 = y2-ry2; 132 y1 = y1 + y2 - 1.0; 207 unsigned char midcov = DblToMask(y2); 110 fillAARect(NativePrimitive *pPrim, SurfaceDataRasInfo *pRasInfo, CompositeInfo *pCompInfo, jint color, unsigned char *pMask, void *pDst, jdouble x1, jdouble y1, jdouble x2, jdouble y2) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | GeneralRenderer.java | 171 int y2 = yPoints[off] + transy; 173 x1, y1, x2, y2); 175 y1 = y2; 184 int x1, int y1, int x2, int y2) { 186 (WritableRaster) sData.getRaster(x1, y1, x2-x1, y2-y1); 189 while (y1 < y2) { 217 int y2 = boundPts[3]; 220 sData.getRaster(Math.min(x1, x2), Math.min(y1, y2), 221 Math.abs(x1 - x2) + 1, Math.abs(y1 - y2) + 1); 226 if (y1 > y2) { 183 doSetRect(SurfaceData sData, PixelWriter pw, int x1, int y1, int x2, int y2) argument 744 DrawLine(SunGraphics2D sg2d, SurfaceData sData, int x1, int y1, int x2, int y2) argument 889 DrawLine(SunGraphics2D sg2d, SurfaceData sData, int x1, int y1, int x2, int y2) argument [all...] |
H A D | ProcessPath.java | 135 int x2, int y2, int [] pixelInfo, 553 * (x1, y1), (x2, y2) - fixed point coordinates of the endpoints 575 public void processFixedLine(int x1, int y1, int x2, int y2, argument 580 int c = ((x1 ^ x2) | (y1 ^ y2)); 593 if (x1 == x2 || y1 == y2) { 597 ry2 = y2 + MDP_HALF_MULT; 601 int dy = y2 - y1; 603 /* Floor of x1, y1, x2, y2 */ 607 int fy2 = y2 & MDP_W_MASK; 617 /* Boundary at the direction from (x1,y1) to (x2,y2) */ 134 processFixedLine(int x1, int y1, int x2, int y2, int [] pixelInfo, boolean checkBounds, boolean endSubPath) argument 1359 ProcessLine(ProcessHandler hnd, float x1, float y1, float x2, float y2, int[] pixelInfo) argument 2027 processFixedLine(int x1, int y1, int x2, int y2, int[] pixelInfo, boolean checkBounds, boolean endSubPath) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Renderer.java | 172 final float x2, final float y2) 199 addLine(x0, y0, x2, y2); 265 private void addLine(float x1, float y1, float x2, float y2) { argument 267 if (y2 < y1) { 268 or = y2; // no need to declare a temp variable. We have or. 269 y2 = y1; 277 final int lastCrossing = Math.min((int)Math.ceil(y2), boundsMaxY); 282 if (y2 > edgeMaxY) { edgeMaxY = y2; } 284 final float slope = (x2 - x1) / (y2 170 quadBreakIntoLinesAndAdd(float x0, float y0, final Curve c, final float x2, final float y2) argument 388 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument 400 quadTo(float x1, float y1, float x2, float y2) argument [all...] |
H A D | Stroker.java | 260 final float y2 = y1 + cv * omx; 267 emitCurveTo(x1, y1, x2, y2, x3, y3, x4, y4, rev); 470 final float x2, final float y2, final boolean rev) 475 out.quadTo(x1, y1, x2, y2); 481 final float x2, final float y2, 485 reverse.pushCubic(x0, y0, x1, y1, x2, y2); 487 out.curveTo(x1, y1, x2, y2, x3, y3); 523 final float x2, final float y2, 530 Helpers.within(y1, y2, ERR)); // this is just as good. 534 float x2, float y2, 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 522 within(final float x1, final float y1, final float x2, final float y2, final float ERR) argument 533 getLineOffsets(float x1, float y1, float x2, float y2, float[] left, float[] right) argument 939 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument 1031 quadTo(float x1, float y1, float x2, float y2) argument 1139 pushCubic(float x0, float y0, float x1, float y1, float x2, float y2) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | ProxyGraphics.java | 357 * <code>(x1, y1)</code> and <code>(x2, y2)</code> 362 * @param y2 the second point's <i>y</i> coordinate. 364 public void drawLine(int x1, int y1, int x2, int y2) { argument 365 g.drawLine(x1, y1, x2, y2);
|
H A D | PathGraphics.java | 151 * <code>(x1, y1)</code> and <code>(x2, y2)</code> 156 * @param y2 the second point's <i>y</i> coordinate. 158 public void drawLine(int x1, int y1, int x2, int y2) { argument 168 deviceDrawLine(x1, y1, x2, y2, (Color) paint);
|
H A D | PeekGraphics.java | 505 * <code>(x1, y1)</code> and <code>(x2, y2)</code> 510 * @param y2 the second point's <i>y</i> coordinate. 513 public void drawLine(int x1, int y1, int x2, int y2) { argument 514 addStrokeShape(new Line2D.Float(x1, y1, x2, y2));
|
H A D | ProxyGraphics2D.java | 441 * <code>(x1, y1)</code> and <code>(x2, y2)</code> 446 * @param y2 the second point's <i>y</i> coordinate. 449 public void drawLine(int x1, int y1, int x2, int y2) { argument 450 mGraphics.drawLine(x1, y1, x2, y2);
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLContext.c | 226 jint x1, jint y1, jint x2, jint y2) 229 jint height = y2 - y1; 225 OGLContext_SetRectClip(OGLContext *oglc, OGLSDOps *dstOps, jint x1, jint y1, jint x2, jint y2) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XEmbedChildProxyPeer.java | 264 public void flip(int x1, int y1, int x2, int y2, BufferCapabilities.FlipContents flipAction) { } argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | X11GraphicsConfig.java | 448 int x1, int y1, int x2, int y2, 446 flip(X11ComponentPeer peer, Component target, VolatileImage xBackBuffer, int x1, int y1, int x2, int y2, BufferCapabilities.FlipContents flipAction) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DebugGraphics.java | 509 public void drawLine(int x1, int y1, int x2, int y2) { argument 515 " to " + pointToString(x2, y2)); 522 debugGraphics.drawLine(x1, y1, x2, y2); 531 graphics.drawLine(x1, y1, x2, y2); 537 graphics.drawLine(x1, y1, x2, y2);
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CFileDialog.java | 286 public void flip(int x1, int y1, int x2, int y2, FlipContents flipAction) { argument
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_p.h | 119 int y2; member in struct:_DamageRect
|
H A D | multiVis.c | 84 short x1, x2, y1, y2; member in struct:__anon1017 453 srcRect_height = MIN( vis_reg->rects[rect].y2, bbox.height + bbox.y)
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11Renderer.c | 225 jint x1, jint y1, jint x2, jint y2) 236 CLAMP_TO_SHORT(x2), CLAMP_TO_SHORT(y2)); 222 Java_sun_java2d_x11_X11Renderer_XDrawLine(JNIEnv *env, jobject xr, jlong pXSData, jlong xgc, jint x1, jint y1, jint x2, jint y2) argument
|
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DBlitLoops.cpp | 70 GETMIN(dst->y2, src->y2); 75 jint x1, jint y1, jint x2, jint y2) 81 GETMIN(bounds->y2, y2); 105 if (bounds->y2 > h) { 106 bounds->y2 = h; 119 GETMIN(dst->y2, src->y2 + dy); 123 GETMIN(src->y2, ds 74 SurfaceData_IntersectBoundsXYXY(SurfaceDataBounds *bounds, jint x1, jint y1, jint x2, jint y2) argument [all...] |
H A D | D3DRenderQueue.cpp | 62 int x1, int y1, int x2, int y2) 70 J2dTraceLn4(J2D_TRACE_VERBOSE, " x1=%d y1=%d x2=%d y2=%d", 71 x1, y1, x2, y2); 123 if (y2 > d3dsdo->height) y2 = d3dsdo->height; 124 if (x2 <= x1 || y2 <= y1) { 131 srcRect.bottom = y2; 232 jint y2 = NEXT_INT(b); local 235 res = D3DRenderer_DrawLine(d3dc, x1, y1, x2, y2); 505 jint y2 local 61 D3DRQ_SwapBuffers(D3DPipelineManager *pMgr, D3DSDOps *d3dsdo, int x1, int y1, int x2, int y2) argument 704 jint y2 = NEXT_INT(b); local [all...] |
H A D | D3DTextRenderer.cpp | 285 jfloat x1, y1, x2, y2; local 315 y2 = y1 + ginfo->height; 317 return d3dc->pVCacher->DrawTexture(x1, y1, x2, y2, 328 ((gx2) <= outerBounds.x2) && ((gy2) <= outerBounds.y2)) 335 ((bounds.x2 > (gx1)) && (bounds.y2 > (gy1)) && \ 377 dy2 = previousGlyphBounds.y2; 503 cachedDestBounds.y2 = dy2; 511 previousGlyphBounds.y2 = gy2;
|
H A D | D3DVertexCacher.cpp | 224 HRESULT D3DVertexCacher::DrawLine(int x1, int y1, int x2, int y2) argument 229 if (y1 == y2) { 246 fy2 = (float)y2+SP_FF4; 252 if (y1 > y2) { 253 fy1 = (float)y2+HV_FF3; 257 fy2 = (float)y2+HV_FF2; 261 if (x1 > x2 && y1 > y2) { 265 fy1 = (float)y2; 268 } else if (x1 > x2 && y2 > y1) { 272 fy1 = (float)y2; 404 float x1, y1, x2, y2; local 431 DrawRect(int x1, int y1, int x2, int y2) argument 457 FillRect(int x1, int y1, int x2, int y2) argument 645 DrawTexture(float x1, float y1, float x2, float y2, float u1, float v1, float u2, float v2) argument 670 DrawTexture(float x1, float y1, float x2, float y2, float u11, float v11, float u12, float v12, float u21, float v21, float u22, float v22) argument [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/ |
H A D | cmsgamma.c | 854 cmsFloat64Number a = 0, b = 0, y, x1, y1, x2, y2; local 891 y2 = (cmsFloat64Number) ((j+1) * 65535.0 ) / (InCurve ->nEntries - 1); 896 out ->Table16[i] = _cmsQuickSaturateWord(Ascending ? y2 : y1); 902 a = (y2 - y1) / (x2 - x1); 903 b = y2 - a * x2;
|