Searched refs:y2 (Results 26 - 50 of 198) sorted by relevance

12345678

/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DFillRect.c66 if (rasInfo.bounds.y2 <= rasInfo.bounds.y1 ||
77 rasInfo.bounds.y2 > rasInfo.bounds.y1)
83 rasInfo.bounds.x2, rasInfo.bounds.y2,
H A DDrawPolygons.c54 if (bounds->y2 > ymax) bounds->y2 = ymax;
57 bounds->y2 = bounds->y1;
81 jint y2 = transY + *yPointsPtr++; local
82 empty = (empty && x1 == x2 && y1 == y2);
85 x1, y1, x2, y2,
88 y1 = y2;
200 rasInfo.bounds.y2 > rasInfo.bounds.y1);
208 rasInfo.bounds.y2 > rasInfo.bounds.y1)
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) { \
77 if (ty2 > (pRasInfo)->bounds.y2) ty2 = (pRasInfo)->bounds.y2; \
H A DDrawLine.c38 RefineBounds(SurfaceDataBounds *bounds, jint x1, jint y1, jint x2, jint y2) argument
55 if (y1 < y2) {
57 max = y2;
59 min = y2;
68 if (bounds->y2 > max) bounds->y2 = max;
112 cymax = pBounds->y2 - 1; \
390 jint x1, jint y1, jint x2, jint y2)
413 RefineBounds(&rasInfo.bounds, x1, y1, x2, y2);
420 rasInfo.bounds.y2 > rasInf
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.c76 rasInfo.bounds.y2 = bbox[3];
87 rasInfo.bounds.y2);
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DDrawLine.java78 int x1, int y1, int x2, int y2);
108 int x1, int y1, int x2, int y2)
111 target.DrawLine(sg2d, dest, x1, y1, x2, y2);
77 DrawLine(SunGraphics2D sg2d, SurfaceData dest, int x1, int y1, int x2, int y2) argument
107 DrawLine(SunGraphics2D sg2d, SurfaceData dest, int x1, int y1, int x2, int y2) argument
H A DGeneralRenderer.java171 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...]
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DPoint2D.java283 * @param y2 the Y coordinate of the second specified point
289 double x2, double y2)
292 y1 -= y2;
302 * @param y2 the Y coordinate of the second specified point
308 double x2, double y2)
311 y1 -= y2;
288 distanceSq(double x1, double y1, double x2, double y2) argument
307 distance(double x1, double y1, double x2, double y2) argument
H A DRectangle2D.java548 * @param y2 the Y coordinate of the end point of the specified
555 public boolean intersectsLine(double x1, double y1, double x2, double y2) { argument
557 if ((out2 = outcode(x2, y2)) == 0) {
569 y1 = y1 + (x - x1) * (y2 - y1) / (x2 - x1);
576 x1 = x1 + (y - y1) * (x2 - x1) / (y2 - y1);
738 double y2 = Math.min(src1.getMaxY(), src2.getMaxY());
739 dest.setFrame(x1, y1, x2-x1, y2-y1);
777 double y2 = Math.max(src1.getMaxY(), src2.getMaxY());
778 dest.setFrameFromDiagonal(x1, y1, x2, y2);
804 double y2
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DGradientPaint.java77 * @param y2 y coordinate of the second specified
87 float y2,
94 p2 = new Point2D.Float(x2, y2);
136 * @param y2 y coordinate of the second specified
147 float y2,
150 this (x1, y1, color1, x2, y2, color2);
83 GradientPaint(float x1, float y1, Color color1, float x2, float y2, Color color2) argument
143 GradientPaint(float x1, float y1, Color color1, float x2, float y2, Color color2, boolean cyclic) argument
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dimg_util_md.h54 extern int image_Done(IRData *ird, int x1, int y1, int x2, int y2);
56 extern void *image_InitMask(IRData *ird, int x1, int y1, int x2, int y2);
63 #define ImgInitMask(cvdata, x1, y1, x2, y2) \
64 image_InitMask((IRData *)cvdata, x1, y1, x2, y2)
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DStroker.java260 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...]
H A DCurve.java57 float x2, float y2,
62 ay = 3 * (y2 - y3) + y4 - y1;
64 by = 3 * (y1 - 2 * y2 + y3);
66 cy = 3 * (y2 - y1);
74 float x2, float y2,
80 by = y1 - 2 * y2 + y3;
82 cy = 2 * (y2 - y1);
56 set(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) argument
73 set(float x1, float y1, float x2, float y2, float x3, float y3) argument
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DVertexCacher.cpp224 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...]
H A DD3DBlitLoops.cpp70 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 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/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));
103 double x2, double y2)
106 expectedBounds.setFrameFromDiagonal(x1, y1, x2, y2);
102 BoundsCheckerPaint(double x1, double y1, double x2, double y2) argument
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DUtilities.java134 double y2 = getColorBrightness(c2);
136 if (abs(y1 - y2) < 125.0) {
137 if (y2 < 128.0) {
138 c1 = setColorBrightness(c1, y2 + 125.0);
140 c1 = setColorBrightness(c1, y2 - 125.0);
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A De_hypot.c43 * t1*y1+((x-y)*(x-y)+(t1*y2+t2*y))
45 * y1= y with lower 32 bits chopped, y2 = y-y1.
68 double a=x,b=y,t1,t2,y1,y2,w; local
117 y2 = b - y1;
121 w = sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b)));
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLSurfaceData.h195 #define GLRECT_BODY_XYXY(x1, y1, x2, y2) \
199 j2d_glVertex2i(x2, y2); \
200 j2d_glVertex2i(x1, y2); \
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
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 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;
209 y2 = coords[3];
220 y2 = uy2 + ty;
227 y2 = uy2;
241 int iy2 = (int) Math.floor(y2 - sg2d.transY);
248 y2 = normalize(y2);
77 drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) argument
[all...]
H A DShapeSpanIterator.java194 float x2, float y2);
196 float x2, float y2,
193 quadTo(float x1, float y1, float x2, float y2) argument
195 curveTo(float x1, float y1, float x2, float y2, float x3, float y3) argument
/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/sun/security/pkcs11/KeyAgreement/
H A DTestShort.java60 private final static BigInteger y2 = new BigInteger field in class:TestShort
98 PublicKey pu2 = kf.generatePublic(new DHPublicKeySpec(y2, p, g));

Completed in 264 milliseconds

12345678