Searched refs:y1 (Results 76 - 100 of 230) sorted by relevance

12345678910

/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DMaskFill.c65 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);
87 maskoff += ((rasInfo.bounds.y1 - y) * maskscan +
113 jdouble x1, jdouble y1, jdouble x2, jdouble y2)
116 jint cy1 = pRasInfo->bounds.y1;
120 jint ry1 = (jint) ceil(y1);
127 y1 = ry1-y1;
110 fillAARect(NativePrimitive *pPrim, SurfaceDataRasInfo *pRasInfo, CompositeInfo *pCompInfo, jint color, unsigned char *pMask, void *pDst, jdouble x1, jdouble y1, jdouble x2, jdouble y2) argument
541 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 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));
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 DFillPath.c110 rasInfo.bounds.y2 > rasInfo.bounds.y1);
117 rasInfo.bounds.y2 > rasInfo.bounds.y1)
144 drawHandler.yMin = rasInfo.bounds.y1;
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLBlitLoops.c472 srcInfo.bounds.y1 = sy1;
480 srcInfo.bounds.y2 > srcInfo.bounds.y1)
486 if (srcInfo.bounds.y1 != sy1) {
487 dy1 += (srcInfo.bounds.y1 - sy1) * (dh / sh);
488 sy1 = srcInfo.bounds.y1;
595 srcInfo.bounds.y1 = sy1;
606 srcInfo.bounds.y2 > srcInfo.bounds.y1)
614 if (srcInfo.bounds.y1 != sy1) {
615 dy1 += (srcInfo.bounds.y1 - sy1) * (dh / sh);
616 sy1 = srcInfo.bounds.y1;
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DCrossings.java191 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...]
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11SurfaceData.c864 pRasInfo->bounds.y1,
871 pRasInfo->bounds.y1 = xsdo->surfInfo.visible.loy - wy;
895 if (pRasInfo->bounds.y1 < 0) {
896 pRasInfo->bounds.y1 = 0;
936 pRasInfo->bounds.y1,
943 pRasInfo->bounds.y1 = xsdo->surfInfo.visible.loy - wy;
970 xpriv->y = pRasInfo->bounds.y1;
979 y = pRasInfo->bounds.y1;
1097 Position x1=0, y1=0, x2=0, y2=0; local
1104 x1 = y1
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...]
/openjdk7/jdk/src/solaris/native/sun/jdga/
H A Ddgalock.c398 int x0, y0, x1, y1; local
410 y1 = *ptr++;
411 DEBUG_PRINT(("DGA y range loy=%d hiy=%d\n", y0, y1));
415 if (y1 > hiy) {
416 y1 = hiy;
428 if (x0 < x1 && y0 < y1) {
434 cliphiy = y1;
438 cliploy <= y1 && cliphiy >= y0)
443 cliphiy = max(cliphiy, y1);
444 } else if (cliploy == y0 && cliphiy == y1
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DDasher.java168 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...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DmultiVis.c84 short x1, x2, y1, y2; member in struct:__anon1017
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...]
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DArc2D.java960 * @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 DPath2D.java381 public final synchronized void quadTo(double x1, double y1, argument
387 floatCoords[numCoords++] = (float) y1;
396 * using the specified point {@code (x1,y1)} as a quadratic
405 * @param y1 the Y coordinate of the quadratic control point
411 public final synchronized void quadTo(float x1, float y1, argument
417 floatCoords[numCoords++] = y1;
426 public final synchronized void curveTo(double x1, double y1, argument
433 floatCoords[numCoords++] = (float) y1;
444 * using the specified points {@code (x1,y1)} and {@code (x2,y2)} as
453 * @param y1 th
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/make/tools/src/build/tools/generatenimbus/
H A DPainterGenerator.java227 float y1 = encode((float)rshape.getY1(), c, d, height);
237 " " + writeDecodeY(y1) + ", //y\n" +
239 " " + writeDecodeY(y2) + " - " + writeDecodeY(y1) + ", //height\n" +
246 " " + writeDecodeY(y1) + ", //y\n" +
248 " " + writeDecodeY(y2) + " - " + writeDecodeY(y1) + "); //height";
254 float y1 = encode((float)eshape.getY1(), c, d, height);
260 " " + writeDecodeY(y1) + ", //y\n" +
262 " " + writeDecodeY(y2) + " - " + writeDecodeY(y1) + "); //height";
280 float y1 = encode((float)last.getY(), c, d, height);
285 + writeDecodeBezierY(y1, las
[all...]
/openjdk7/jdk/src/share/demo/applets/DrawTest/
H A DDrawTest.java112 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);
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIBlitLoops.cpp68 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;
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphOutlines.m102 CGFloat y1 = p1.y;
110 CGFloat pathY1 = -y1+ty;
117 fprintf(stderr, " x1=%f, y1=%f\n", x1, y1);
137 CGFloat y1 = p1.y;
147 CGFloat pathY1 = -y1+ty;
156 fprintf(stderr, " x1=%f, y1=%f\n", x1, y1);
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_DrawLine.c47 ADD_SUFF(AnyInt##FUNC)(pRasInfo, x1, y1, r_pixel, steps, error, \
63 jint y1, \
82 PTR_ADD(pPix, y1 * scan + x1 * ANYTYPE##PixelStride); \
/openjdk7/jdk/test/sun/java2d/SunGraphics2D/
H A DDrawImageBilinear.java140 int y1 = affectedRegion.y;
142 int y2 = y1 + affectedRegion.height;
144 for (int y = y1; y < y2; y++) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthGraphicsUtils.java71 * @param y1 y origin
76 Graphics g, int x1, int y1, int x2, int y2) {
77 g.drawLine(x1, y1, x2, y2);
93 * @param y1 y origin
100 Graphics g, int x1, int y1, int x2, int y2,
105 y1 += (y1 % 2);
107 for (int y = y1; y <= y2; y+=2) {
111 } else if (y1 == y2) {
115 g.drawLine(x, y1,
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/hotspot/src/share/vm/code/
H A DcompressedStream.cpp258 jint y1 = decode.read_int(); local
259 CHECKXY(x, y1, "%du");
267 jlong y1 = decode.read_long(); local
268 CHECKXY(x, y1, INT64_FORMAT "l");
/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/jdk/src/share/demo/management/MemoryMonitor/
H A DMemoryMonitor.java197 public void plotMemoryUsage(int x1, int y1, int x2, int y2, int npool) { argument
213 big.drawString(String.valueOf((int)totalMemory/1024) + "K Max ", x1+4.0f, (float) y1 + ascent+0.5f);
217 big.drawString(mp.getName(), x1+x2/2, (float) y1 + ascent+0.5f);
223 big.drawString(usedStr, x1+4, y1+y2-descent);
237 mfRect.setRect(x1+5,(float) y1+ssH+i*blockHeight,
245 muRect.setRect(x1+5,(float) y1 + ssH+i*blockHeight,
255 int graphY = y1 + (int) ssH;
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DQuartzSurfaceData.m292 //fprintf(stderr, "BOUNDING BOX x1=%f, y1=%f x2=%f, y2=%f\n", bounds.origin.x, bounds.origin.y, bounds.origin.x+bounds.size.width, bounds.origin.y+bounds.size.height);
296 CGFloat y1 = shadingInfo->start.y;
299 //fprintf(stderr, "GIVEN x1=%f, y1=%f x2=%f, y2=%f\n", x1, y1, x2, y2);
303 y1 = bounds.origin.y;
304 y2 = y1 + bounds.size.height;
306 else if (y1 == y2)
314 CGFloat m1 = (y2-y1)/(x2-x1);
315 CGFloat c1 = y1 - m1*x1;
343 y1
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageScanPoly.c285 mlib_s32 y1; local
292 y1 = 0;
295 SAT32(y1);
304 x += slope * (y1 - dY1);
308 for (j = y1; j <= y2; j++) {
325 mlib_s32 y1; local
332 y1 = 0;
335 SAT32(y1);
344 x += slope * (y1 - dY1);
348 for (j = y1;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DMap.java262 int y1; field in class:Map.RectangleRegionContainment
276 y1 = coords[3];
277 if (x0 < 0 || y0 < 0 || x1 < 0 || y1 < 0) {
310 y1 = (int)(percents[3] * height);
318 (y >= y0 && y <= y1));

Completed in 59 milliseconds

12345678910