Searched refs:y2 (Results 51 - 75 of 198) sorted by relevance

12345678

/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DProcessPath.c451 * (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));
491 if (x1 == x2 || y1 == y2) {
495 ry2 = y2 + MDP_HALF_MULT;
499 jint dy = y2 - y1;
501 /* Floor of x1, y1, x2, y2 */
505 jint fy2 = y2 & MDP_W_MASK;
515 /* Boundary at the direction from (x1,y1) to (x2,y2) */
517 jint by1 = (y1 < y2)
603 jint y2 = y0; local
1048 jint y2 = y0; local
1375 jfloat y2 = coord2[1]; local
2094 StoreFixedLine(ProcessHandler* hnd,jint x1,jint y1,jint x2,jint y2, jint* pixelInfo,jboolean checkBounds, jboolean endSubPath) argument
[all...]
H A DBlit.c71 srcInfo.bounds.y2 = srcy + height;
75 dstInfo.bounds.y2 = dsty + height;
120 span.x2 - span.x1, span.y2 - span.y1,
H A DBlitBg.c71 srcInfo.bounds.y2 = srcy + height;
75 dstInfo.bounds.y2 = dsty + height;
124 span.x2 - span.x1, span.y2 - span.y1,
H A DDrawPath.c120 rasInfo.bounds.y2 > rasInfo.bounds.y1);
127 rasInfo.bounds.y2 > rasInfo.bounds.y1)
157 drawHandler.yMax = rasInfo.bounds.y2;
H A DFillPath.c110 rasInfo.bounds.y2 > rasInfo.bounds.y1);
117 rasInfo.bounds.y2 > rasInfo.bounds.y1)
146 drawHandler.yMax = rasInfo.bounds.y2;
H A DMaskBlit.c71 srcInfo.bounds.y2 = srcy + height;
75 dstInfo.bounds.y2 = dsty + height;
121 span.x2 - span.x1, span.y2 - span.y1,
H A DMaskFill.c67 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/test/java/lang/Math/
H A DCubeRootTests.java176 double y2 = StrictMath.cbrt(d);
201 err = d - StrictMath.pow(y2, 3);
206 "\tcbrt(d) = " + y2);
209 err_adjacent = StrictMath.pow(FpUtils.nextUp(y2), 3) - d;
212 err_adjacent = StrictMath.pow(FpUtils.nextAfter(y2,0.0), 3) - d;
218 y2 + "is not as good as adjacent value.");
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DPainterGenerator.java229 float y2 = encode((float)rshape.getY2(), c, d, height);
239 " " + writeDecodeY(y2) + " - " + writeDecodeY(y1) + ", //height\n" +
248 " " + writeDecodeY(y2) + " - " + writeDecodeY(y1) + "); //height";
256 float y2 = encode((float)eshape.getY2(), c, d, height);
262 " " + writeDecodeY(y2) + " - " + writeDecodeY(y1) + "); //height";
282 float y2 = encode((float)cp.getY(), c, d, height);
287 + writeDecodeBezierY(y2, cp.getY(), cp.getCp1Y()) + ", "
288 + writeDecodeX(x2) + ", " + writeDecodeY(y2) + ");\n");
300 float y2 = encode((float)first.getY(), c, d, height);
305 + writeDecodeBezierY(y2, firs
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DShapeSpanIterator.c112 jfloat x2, jfloat y2);
116 jfloat x2, jfloat y2,
203 #define ADJUST2(pd, x1, y1, x2, y2) \
204 _ADJUST(pd, x2, y2, \
220 #define ADJUST3(pd, x1, y1, x2, y2, x3, y3) \
226 y2 += newadjy; \
254 #define HANDLEQUADTO(pd, x1, y1, x2, y2, OOMERR) \
256 ADJUST2(pd, x1, y1, x2, y2); \
259 x1, y1, x2, y2)) { \
264 PDBOXPOINT(pd, x2, y2); \
416 jfloat x1, y1, x2, y2, x3, y3; local
801 PCQuadTo(PathConsumerVec *consumer, jfloat x1, jfloat y1, jfloat x2, jfloat y2) argument
814 PCCubicTo(PathConsumerVec *consumer, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) 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
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DRenderer.java172 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...]
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DArc2D.java962 * @param y2 The Y coordinate of the arc's ending point.
965 public void setAngles(double x1, double y1, double x2, double y2) { argument
974 double ang2 = Math.atan2(w * (y - y2), h * (x2 - x));
1054 double x1, y1, x2, y2;
1056 x1 = y1 = x2 = y2 = 0.0;
1059 x2 = y2 = -1.0;
1082 y2 = Math.max(y2, ye);
1087 y2 = (y2
[all...]
H A DPath2D.java382 double x2, double y2)
389 floatCoords[numCoords++] = (float) y2;
395 * coordinates and the specified coordinates {@code (x2,y2)},
407 * @param y2 the Y coordinate of the final end point
412 float x2, float y2)
419 floatCoords[numCoords++] = y2;
427 double x2, double y2,
435 floatCoords[numCoords++] = (float) y2;
444 * using the specified points {@code (x1,y1)} and {@code (x2,y2)} as
455 * @param y2 th
381 quadTo(double x1, double y1, double x2, double y2) argument
411 quadTo(float x1, float y1, float x2, float y2) argument
426 curveTo(double x1, double y1, double x2, double y2, double x3, double y3) argument
461 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument
1170 quadTo(double x1, double y1, double x2, double y2) argument
1185 curveTo(double x1, double y1, double x2, double y2, double x3, double y3) argument
1737 quadTo(double x1, double y1, double x2, double y2) argument
1756 curveTo(double x1, double y1, double x2, double y2, double x3, double y3) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLBlitLoops.c474 srcInfo.bounds.y2 = sy2;
480 srcInfo.bounds.y2 > srcInfo.bounds.y1)
494 if (srcInfo.bounds.y2 != sy2) {
495 dy2 += (srcInfo.bounds.y2 - sy2) * (dh / sh);
496 sy2 = srcInfo.bounds.y2;
597 srcInfo.bounds.y2 = sy2;
606 srcInfo.bounds.y2 > srcInfo.bounds.y1)
622 if (srcInfo.bounds.y2 != sy2) {
623 dy2 += (srcInfo.bounds.y2 - sy2) * (dh / sh);
624 sy2 = srcInfo.bounds.y2;
[all...]
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphOutlines.m104 CGFloat y2 = p2.y;
112 CGFloat pathY2 = -y2+ty;
118 fprintf(stderr, " x2=%f, y2=%f\n", x2, y2);
139 CGFloat y2 = p2.y;
149 CGFloat pathY2 = -y2+ty;
157 fprintf(stderr, " x2=%f, y2=%f\n", x2, y2);
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11SurfaceData.c866 pRasInfo->bounds.y2);
873 pRasInfo->bounds.y2 = xsdo->surfInfo.visible.hiy - wy;
901 if (pRasInfo->bounds.y2 > xsdo->pmHeight) {
902 pRasInfo->bounds.y2 = xsdo->pmHeight;
938 pRasInfo->bounds.y2);
945 pRasInfo->bounds.y2 = xsdo->surfInfo.visible.hiy - wy;
981 h = pRasInfo->bounds.y2 - y;
1046 int h = pRasInfo->bounds.y2 - y;
1097 Position x1=0, y1=0, x2=0, y2=0; local
1144 y2
1171 int x1, y1, x2, y2, px1, py1, px2, py2, child_x, child_y; local
1703 Java_sun_java2d_x11_XSurfaceData_XSetClip(JNIEnv *env, jclass xsd, jlong xgc, jint x1, jint y1, jint x2, jint y2, jobject complexclip) argument
[all...]
H A DX11PMBlitLoops.c78 srcBounds.y2 = srcy + height;
84 span.y2 = dsty + height;
107 span.x2 - span.x1, span.y2 - span.y1,
174 srcBounds.y2 = srcy + height;
180 dstBounds.y2 = dsty + height;
190 height = srcBounds.y2 - srcBounds.y1;
272 srcInfo.bounds.y2 = height;
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DProcessPath.java135 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/native/sun/awt/medialib/
H A Dmlib_ImageScanPoly.c286 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/hotspot/src/share/vm/code/
H A DcompressedStream.cpp260 jint y2 = decode.read_signed_int(); local
261 CHECKXY(x, y2, "%di");
269 jlong y2 = jlong_cast(decode.read_double()); local
270 CHECKXY(x, y2, INT64_FORMAT "d");
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DPlatformWindow.java108 public void flip(int x1, int y1, int x2, int y2, argument
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DGraphicsConfig.java181 int x1, int y1, int x2, int y2,
191 D3DSurfaceData.swapBuffers(d3dsd, x1, y1, x2, y2);
197 x1, y1, x2, y2,
198 x1, y1, x2, y2,
179 flip(WComponentPeer peer, Component target, VolatileImage backBuffer, int x1, int y1, int x2, int y2, BufferCapabilities.FlipContents flipAction) argument
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DMultiConnectionWidget.java145 int y2 = r.to.y;
153 if (y > y2) {
155 y = y2;
156 y2 = tmp;
160 int height = y2 - y + 1;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthGraphicsUtils.java73 * @param y2 y destination
76 Graphics g, int x1, int y1, int x2, int y2) {
77 g.drawLine(x1, y1, x2, y2);
95 * @param y2 y destination
100 Graphics g, int x1, int y1, int x2, int y2,
107 for (int y = y1; y <= y2; y+=2) {
111 } else if (y1 == y2) {
115 g.drawLine(x, y1, x, y2);
120 drawLine(context, paintKey, g, x1, y1, x2, y2);
297 int y2
75 drawLine(SynthContext context, Object paintKey, Graphics g, int x1, int y1, int x2, int y2) argument
99 drawLine(SynthContext context, Object paintKey, Graphics g, int x1, int y1, int x2, int y2, Object styleKey) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DRectangle.java941 long y2 = this.height;
943 y2 += y1;
947 if (y2 < newy) y2 = newy;
949 y2 -= y1;
951 if (y2 > Integer.MAX_VALUE) y2 = Integer.MAX_VALUE;
952 reshape(x1, y1, (int) x2, (int) y2);

Completed in 115 milliseconds

12345678