Searched refs:y1 (Results 51 - 75 of 230) sorted by relevance

12345678910

/openjdk7/jdk/test/java/awt/Paint/
H A DPgramUserBoundsTest.java93 static void testLine(Graphics2D g2d, int x1, int y1, int x2, int y2) { argument
94 g2d.drawLine(x1, y1, x2, y2);
95 g2d.draw(new Line2D.Double(x1, y1, x2, y2));
102 public BoundsCheckerPaint(double x1, double y1, argument
106 expectedBounds.setFrameFromDiagonal(x1, y1, x2, y2);
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DBlit.c69 srcInfo.bounds.y1 = srcy;
73 dstInfo.bounds.y1 = dsty;
106 srcy + span.y1, srcInfo.scanStride);
109 span.y1, dstInfo.scanStride);
120 span.x2 - span.x1, span.y2 - span.y1,
H A DBlitBg.c69 srcInfo.bounds.y1 = srcy;
73 dstInfo.bounds.y1 = dsty;
110 srcy + span.y1, srcInfo.scanStride);
113 span.y1, dstInfo.scanStride);
124 span.x2 - span.x1, span.y2 - span.y1,
H A DDrawPath.c38 jint x0, jint y0, jint x1, jint y1)
45 x0, y0, x1, y1, 0);
120 rasInfo.bounds.y2 > rasInfo.bounds.y1);
127 rasInfo.bounds.y2 > rasInfo.bounds.y1)
155 drawHandler.yMin = rasInfo.bounds.y1;
37 processLine(DrawHandler* hnd, jint x0, jint y0, jint x1, jint y1) argument
H A DLineUtils.h48 extern jboolean LineUtils_SetupBresenham(jint x1, jint y1, jint x2, jint y2,
61 if (Y1 >= (pRasInfo)->bounds.y1 && Y1 < (pRasInfo)->bounds.y2) { \
76 if (ty1 < (pRasInfo)->bounds.y1) ty1 = (pRasInfo)->bounds.y1; \
H A DDrawLine.c38 RefineBounds(SurfaceDataBounds *bounds, jint x1, jint y1, jint x2, jint y2) argument
55 if (y1 < y2) {
56 min = y1;
60 max = y1;
67 if (bounds->y1 < min) bounds->y1 = min;
110 cymin = pBounds->y1; \
390 jint x1, jint y1, jint x2, jint y2)
413 RefineBounds(&rasInfo.bounds, x1, y1, x2, y2);
420 rasInfo.bounds.y2 > rasInfo.bounds.y1)
387 Java_sun_java2d_loops_DrawLine_DrawLine(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jint x1, jint y1, jint x2, jint y2) argument
[all...]
H A DFillSpans.c74 rasInfo.bounds.y1 = bbox[1];
85 rasInfo.bounds.y1,
H A DProcessPath.h56 jint x0, jint y0, jint x1, jint y1);
83 jint x1,jint y1,
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DBlitLoops.cpp68 GETMAX(dst->y1, src->y1);
75 jint x1, jint y1, jint x2, jint y2)
79 GETMAX(bounds->y1, y1);
102 if (bounds->y1 < y) {
103 bounds->y1 = y;
117 GETMAX(dst->y1, src->y1 + dy);
121 GETMAX(src->y1, ds
74 SurfaceData_IntersectBoundsXYXY(SurfaceDataBounds *bounds, jint x1, jint y1, jint x2, jint y2) argument
[all...]
H A DD3DVertexCacher.h60 HRESULT DrawLine(int x1, int y1, int x2, int y2);
65 HRESULT DrawRect(int x1, int y1, int x2, int y2);
66 HRESULT FillRect(int x1, int y1, int x2, int y2);
/openjdk7/jdk/src/share/classes/java/awt/
H A DRectangle.java939 int y1 = this.y;
943 y2 += y1;
945 if (y1 > newy) y1 = newy;
949 y2 -= y1;
952 reshape(x1, y1, (int) x2, (int) y2);
1069 long y1 = this.height;
1071 y1 += y0;
1076 y1 += v;
1101 if (y1 < y
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11PMBlitLoops.c76 srcBounds.y1 = srcy;
82 span.y1 = dsty;
90 srcy = srcBounds.y1;
92 dsty = span.y1;
106 srcx + span.x1, srcy + span.y1,
107 span.x2 - span.x1, span.y2 - span.y1,
108 span.x1, span.y1);
172 srcBounds.y1 = srcy;
178 dstBounds.y1 = dsty;
186 srcy = srcBounds.y1;
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DPiscesTileGenerator.java159 int y1 = y0 + TILE_SIZE;
161 if (y1 > cache.bboxY1) y1 = cache.bboxY1;
163 y1 -= cache.bboxY0;
166 for (int cy = y0; cy < y1; cy++) {
188 " => "+x1+", "+y1+"]");
210 " => "+x1+", "+y1+"]");
/openjdk7/jdk/test/java/awt/Mouse/MouseModifiersUnitTest/
H A DExtraButtonDrag.java104 public static void dragMouse(int button, int x0, int y0, int x1, int y1){ argument
108 int dy = y0 < y1 ? 1 : -1;
122 while (curY != y1 ){
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelToParallelogramConverter.java78 int x1, int y1, int x2, int y2)
80 if (!drawGeneralLine(sg2d, x1, y1, x2, y2)) {
81 super.drawLine(sg2d, x1, y1, x2, y2);
199 double x1, y1, x2, y2;
207 y1 = coords[1];
218 y1 = uy1 + ty;
225 y1 = uy1;
239 int iy1 = (int) Math.floor(y1 - sg2d.transY);
246 y1 = normalize(y1);
77 drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) argument
[all...]
H A DPixelDrawPipe.java44 int x1, int y1, int x2, int y2);
43 drawLine(SunGraphics2D sg, int x1, int y1, int x2, int y2) argument
H A DShapeSpanIterator.java193 public native void quadTo(float x1, float y1, argument
195 public native void curveTo(float x1, float y1, argument
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLSurfaceData.h195 #define GLRECT_BODY_XYXY(x1, y1, x2, y2) \
197 j2d_glVertex2i(x1, y1); \
198 j2d_glVertex2i(x2, y1); \
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIRenderer.cpp127 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);
157 ::MoveToEx(hdc, x1, y1, NUL
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
734 int mx = 0, my = 0, x1 = 0, y1 = 0; local
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLUtilities.java217 int y1 = surfaceBounds.height - (y0 + componentHeight);
219 return new Rectangle(x1, y1, componentWidth, componentHeight);
267 int y1 = surfaceBounds.height - (y0 + h);
269 return new Rectangle(x1, y1, w, h);
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DMaskTile.java52 public void addLine(int x1, int y1, int x2, int y2) { argument
59 region.setDirtyLineRegion(x1, y1, x2, y2);
67 addRect(x1, y1, 1, 1);
70 lineToRects(x1, y1, x2, y2);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dimg_util_md.h50 #define ImgInitMask(cvdata, x1, y1, x2, y2) \
51 (((AwtImage *) cvdata)->GetMaskBuf(TRUE, x1, y1, x2, y2))
/openjdk7/jdk/test/java/lang/Math/
H A DCubeRootTests.java175 double y1 = Math.cbrt(d);
178 err = d - StrictMath.pow(y1, 3);
183 "\tcbrt(d) = " + y1);
186 err_adjacent = StrictMath.pow(FpUtils.nextUp(y1), 3) - d;
189 err_adjacent = StrictMath.pow(FpUtils.nextAfter(y1,0.0), 3) - d;
195 y1 + "is not as good as adjacent value.");
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DBufferedMaskBlit.c100 srcInfo.bounds.y1 = srcy;
111 srcInfo.bounds.y2 > srcInfo.bounds.y1)
121 srcInfo.bounds.y1, srcInfo.scanStride);
134 height = srcInfo.bounds.y2 - srcInfo.bounds.y1;
135 maskoff += ((srcInfo.bounds.y1 - srcy) * maskscan +
144 srcInfo.bounds.x1, srcInfo.bounds.y1, width, height);
/openjdk7/jdk/src/solaris/classes/sun/java2d/jules/
H A DJulesPathBuf.java182 double y1 = coords[1];
188 y2 = y1 + (y3 - y1) / 3;
190 y1 =currY + 2 * (y1 - currY) / 3;
195 points.setY(pointIndex, DoubleToCairoFixed(y1));

Completed in 2429 milliseconds

12345678910