Searched refs:dx (Results 101 - 125 of 163) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DProcessPath.java599 /* Neither dx nor dy can be zero because of the check above */
600 int dx = x2 - x1;
622 int cross = y1 + ((bx1 - x1)*dy)/dx;
628 cross = x1 + ((by1 - y1)*dx)/dy;
647 int cross = y2 + ((bx2 - x2)*dy)/dx;
653 cross = x2 + ((by2 - y2)*dx)/dy;
710 int dx = xe - x0;
752 if (((xe-x2)^dx) < 0) {
1046 int dx = xe - x0;
1113 if (((xe-x2)^dx) <
1717 int dx; field in class:ProcessPath.Edge
1723 Edge(Point p, int x, int dx, int dir) argument
[all...]
H A DGeneralRenderer.java250 int dx = boundPts[4];
267 bumpmajor = (dx < 0) ? -1 : 1;
277 bumpminor = (dx < 0) ? -1 : 1;
497 int dx = x2 - x1;
499 int ax = (dx < 0) ? -dx : dx;
526 if (dx < 0) {
570 if (dx > 0) {
604 boundPts[4] = dx;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicLabelUI.java214 int dx = insets.left + insets.right;
220 return new Dimension(dx, dy);
223 return new Dimension(icon.getIconWidth() + dx,
234 viewR.x = dx;
245 rv.width += dx;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthGraphicsUtils.java272 int dx = insets.left + insets.right;
276 return new Dimension(dx, dy);
279 return new Dimension(SynthIcon.getIconWidth(icon, ss) + dx,
287 viewR.x = dx;
300 rv.width += dx;
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DQuadCurve2D.java997 double dx = x - x1;
1002 double t0 = (dx * ky - dy * kx) / (dxl * ky - dyl * kx);
1234 double dx = x2 - x1;
1241 c1tag = getTag((k + dx * (y1tag < INSIDE ? y : y+h)) / dy, x, x+w);
1246 c2tag = getTag((k + dx * (y2tag < INSIDE ? y : y+h)) / dy, x, x+w);
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRPMBlitLoops.java158 public void Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) { argument
169 x11sdDst.maskBuffer.compositeBlit(x11sdSrc, x11sdDst, sx, sy, dx, dy, w, h);
337 public void Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) { argument
343 opaqueSwToSurfaceBlit.Blit(src, dst, comp, clip, sx, sy, dx, dy, w, h);
349 pmToSurfaceBlit.Blit(vImgSurface, dst, comp, clip, 0, 0, dx, dy, w, h);
H A DXRCompositeManager.java284 int sy, int dx, int dy, int w, int h) {
286 sy, 0, 0, dx, dy, w, h);
283 compositeBlit(XRSurfaceData src, XRSurfaceData dst, int sx, int sy, int dx, int dy, int w, int h) argument
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DProcessPath.c497 /* Neither dx nor dy can be zero because of the check above */
498 jint dx = x2 - x1; local
520 jint cross = y1 + ((bx1 - x1)*dy)/dx;
526 cross = x1 + ((by1 - y1)*dx)/dy;
545 jint cross = y2 + ((bx2 - x2)*dy)/dx;
551 cross = x2 + ((by2 - y2)*dx)/dy;
609 jint dx = xe - x0; local
649 if (((xe-x2)^dx) < 0) {
1054 jint dx = xe - x0; local
1136 if (((xe-x2)^dx) <
1752 jint dx; member in struct:_Edge
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DGridBagLayout.java1382 double dx = (wt * weight_diff) / weight;
1383 r.weightX[k] += dx;
1384 weight_diff -= dx;
1411 int dx = (int)((wt * ((double)pixels_diff)) / weight);
1412 r.minWidth[k] += dx;
1413 pixels_diff -= dx;
2104 int dx = (int)(( ((double)diffw) * info.weightX[i]) / weight);
2105 info.minWidth[i] += dx;
2106 r.width += dx;
H A DWindow.java3209 int dx = 0, dy = 0;
3223 dx = centerPoint.x - windowSize.width / 2;
3228 dx = gcBounds.x + (gcBounds.width - windowSize.width) / 2;
3235 dx = compLocation.x + ((compSize.width - windowSize.width) / 2);
3242 dx = compLocation.x + compSize.width;
3244 dx = compLocation.x - windowSize.width;
3259 if (dx + windowSize.width > gcBounds.x + gcBounds.width) {
3260 dx = gcBounds.x + gcBounds.width - windowSize.width;
3263 if (dx < gcBounds.x) {
3264 dx
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DCrossings.java214 double dx = (x1 - x0);
217 xstart = x0 + (ylo - y0) * dx / dy;
224 xend = x0 + (yhi - y0) * dx / dy;
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DHelpers.java206 final float dx = x2 - x1;
208 return (float)Math.sqrt(dx*dx + dy*dy);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DAbstractRegionPainter.java272 * @param dx the offset distance to the anchor from the control point x
277 protected final float decodeAnchorX(float x, float dx) { argument
279 return decodeX(x) + (dx * leftScale);
281 return decodeX(x) + (dx * centerHScale);
283 return decodeX(x) + (dx * rightScale);
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DOSXOffScreenSurfaceData.java477 public boolean copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) { argument
495 Rectangle clippedCopyAreaRect = clipCopyArea(sg2d, x, y, w, h, dx, dy);
512 sg2d.drawImage(this.bim, x + dx, y + dy, x + dx + w, y + dy + h, x + offsetX, y + offsetY, x + w + offsetX, y + h + offsetY, null);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWEmbeddedFrame.java207 int dx, int dy, int dwidth, int dheight);
205 printBand(long hdc, byte[] data, int offset, int sx, int sy, int swidth, int sheight, int dx, int dy, int dwidth, int dheight) argument
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/
H A DTextMeasureTests.java156 int dx = fm.stringWidth(text);
160 r = new Rectangle(x, y, dx, dy);
194 int dx = fm.charsWidth(chars, 0, chars.length);
198 r = new Rectangle(x, y, dx, dy);
/openjdk7/jdk/test/javax/swing/plaf/metal/MetalBumps/
H A DTest6657026.java147 public void copyArea(int x, int y, int width, int height, int dx, int dy) { argument
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphics2D.java2035 public void copyArea(int x, int y, int w, int h, int dx, int dy) { argument
2037 doCopyArea(x, y, w, h, dx, dy);
2041 doCopyArea(x, y, w, h, dx, dy);
2052 private void doCopyArea(int x, int y, int w, int h, int dx, int dy) { argument
2057 if (theData.copyArea(this, x, y, w, h, dx, dy)) {
2085 if (dy == 0 && dx > 0 && dx < w) {
2087 int partW = Math.min(w, dx);
2091 sx, y, sx+dx, y+dy, partW, h);
2095 if (dy > 0 && dy < h && dx >
3070 copyImage(Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgcolor, ImageObserver observer) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DNullPipe.java129 int dx, int dy, int sx, int sy, int w, int h,
128 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer) argument
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DWritableRaster.java409 * is copied to address (x+dx, y+dy) in this WritableRaster,
410 * unless (x+dx, y+dy) falls outside the bounds of this raster.
416 * @param dx The X translation factor from src space to dst space
424 public void setRect(int dx, int dy, Raster srcRaster) { argument
429 int dstOffX = dx+srcOffX;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifDesktopPaneUI.java225 int dx = x - lx;
229 x = dx < w/2 ? lx: lx + w;
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLayout.java269 // dx and dy specify the distance between the TextLayout's origin
273 // and TextLayout is not guaranteed to work with non-zero dx, dy
278 private static float dx; field in class:TextLayout
973 if (dx != 0 || dy != 0) {
974 vb.setRect(vb.getX() - dx,
2409 if (dx != 0 || dy != 0) {
2410 AffineTransform tx = AffineTransform.getTranslateInstance(dx, dy);
2523 float dx = ca / 2;
2524 cx += dx - dya;
2638 textLine.draw(g2, x - dx,
[all...]
/openjdk7/jdk/test/java/awt/MouseAdapter/MouseAdapterUnitTest/
H A DMouseAdapterUnitTest.java167 int dx = x0 < x1 ? 1 : -1;
171 curX += dx;
/openjdk7/jdk/src/share/classes/sun/print/
H A DProxyGraphics.java333 * <code>dx</code> and <code>dy</code>. From the point specified
337 * <code>dx</code> or <code>dy</code>.
347 * @param dx the horizontal distance to copy the pixels.
351 int dx, int dy) {
352 g.copyArea(x, y, width, height, dx, dy);
350 copyArea(int x, int y, int width, int height, int dx, int dy) argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DTransferHandler.java1378 int dx = s.getScrollableUnitIncrement(outer, SwingConstants.HORIZONTAL, -1);
1379 Rectangle r = new Rectangle(outer.x - dx, inner.y, dx, inner.height);
1383 int dx = s.getScrollableUnitIncrement(outer, SwingConstants.HORIZONTAL, 1);
1384 Rectangle r = new Rectangle(outer.x + outer.width, inner.y, dx, inner.height);

Completed in 142 milliseconds

1234567