Searched defs:dx (Results 1 - 25 of 87) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/java/awt/
H A DPoint.java190 * by {@code dx} along the {@code x} axis and {@code dy}
192 * {@code (x+dx,y+dy)}.
194 * @param dx the distance to move this point
199 public void translate(int dx, int dy) { argument
200 this.x += dx;
H A DGradientPaintContext.java84 double dx; field in class:GradientPaintContext
115 dx = 0;
133 dx = (xvec.getX() * udx + xvec.getY() * udy) / ulenSq;
137 dx = dx % 1.0;
141 if (dx < 0) {
143 // dx to be non-negative for simplicity of scanning
145 // To ensure that constraint, we negate the dx/dy
149 dx = -dx;
250 cycleFillRaster(int[] pixels, int off, int adjust, int w, int h, double rowrel, double dx, double dy) argument
268 clipFillRaster(int[] pixels, int off, int adjust, int w, int h, double rowrel, double dx, double dy) argument
[all...]
H A DRectangle.java507 * @param dx the distance to move this <code>Rectangle</code>
514 public void translate(int dx, int dy) { argument
516 int newv = oldv + dx;
517 if (dx < 0) {
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DMiscTests.java70 private int dx, dy; field in class:MiscTests.CopyArea
72 CopyArea(String nodeName, String desc, int dx, int dy) { argument
74 this.dx = dx;
93 g.copyArea(x, y, size, size, dx, dy);
99 g.copyArea(x, y, size, size, dx, dy);
/openjdk7/jdk/test/javax/imageio/plugins/jpeg/
H A DReadAsGrayTest.java59 static final int dx = 50; field in class:ReadAsGrayTest
138 int x = i * dx + dx / 2;
168 BufferedImage img = new BufferedImage(dx * colors.length, h, type);
173 g.fillRect(i * dx, 0, dx, h);
/openjdk7/jdk/test/javax/imageio/plugins/png/
H A DGrayPngTest.java110 dx = w / (numColors);
114 int rx = i * dx;
116 int[] samples = new int[h * dx];
118 wr.setPixels(rx, 0, dx, h, samples);
137 private int dx; field in class:GrayPngTest
198 int src_rgb = src.getRGB(i * dx, 5);
199 int dst_rgb = dst.getRGB(i * dx, 5);
/openjdk7/jdk/src/windows/classes/sun/java2d/windows/
H A DGDIBlitLoops.java124 int sx, int sy, int dx, int dy,
139 int sx, int sy, int dx, int dy, int w, int h)
141 nativeBlit(src, dst, clip, sx, sy, dx, dy, w, h,
122 nativeBlit(SurfaceData src, SurfaceData dst, Region clip, int sx, int sy, int dx, int dy, int w, int h, int rmask, int gmask, int bmask, boolean needLut) argument
137 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument
/openjdk7/jdk/test/java/awt/WMSpecificTests/Mutter/
H A DMutterMaximizeTest.java126 private static void dragWindow(Window w, int dx, int dy, Robot robot) { argument
130 p.translate(dx, dy);
/openjdk7/jdk/test/sun/java2d/SunGraphics2D/
H A DSimplePrimQuality.java79 private void drawLine(Graphics2D g, int x, int y, int dx, int dy) { argument
80 g.drawLine(x, y, x + dx, y + dy);
/openjdk7/jdk/test/sun/java2d/cmm/ColorConvertOp/
H A DColConvCCMTest.java91 static boolean testSubImage(int x0, int y0, int dx, int dy, argument
97 BufferedImage subSrc = src.getSubimage(x0, y0, dx, dy);
100 BufferedImage subDst = dst.getSubimage(x0, y0, dx, dy);
106 boolean result = cmp.compare(subDst, gldImage, x0, y0, dx, dy);
H A DColConvDCMTest.java94 static boolean testSubImage(int x0, int y0, int dx, int dy, int type, argument
100 BufferedImage subSrc = src.getSubimage(x0, y0, dx, dy);
103 BufferedImage subDst = dst.getSubimage(x0, y0, dx, dy);
111 boolean result = cmp.compare(subDst, gldImage, x0, y0, dx, dy);
H A DImageComparator.java117 int dx, int dy)
123 if (x0 > width - dx) x0 = width - dx;
130 for (int i = x0; i < x0 + dx; i++) {
116 compare(BufferedImage dst, BufferedImage gldImage, int x0, int y0, int dx, int dy) argument
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DNullSurfaceData.java148 int x, int y, int w, int h, int dx, int dy)
147 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/
H A DX11PMBlitBgLoops.java90 int dx, int dy,
101 sx, sy, dx, dy, w, h);
114 int dx, int dy,
87 BlitBg(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int bgColor, int sx, int sy, int dx, int dy, int w, int h) argument
111 nativeBlitBg(long srcData, long dstData, long xgc, int pixel, int sx, int sy, int dx, int dy, int w, int h) argument
H A DX11PMBlitLoops.java150 int dx, int dy,
160 sx, sy, dx, dy, w, h);
173 int sx, int sy, int dx, int dy,
199 int sx, int sy, int dx, int dy, int w, int h)
204 blit.Blit(src, dst, comp, clip, sx, sy, dx, dy, w, h);
147 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument
171 nativeBlit(long srcData, long dstData, long xgc, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument
197 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument
/openjdk7/jdk/src/share/classes/sun/font/
H A DStrikeMetrics.java94 StrikeMetrics(float ax, float ay, float dx, float dy, float bx, float by, argument
98 descentX = dx;
/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/native/sun/awt/medialib/
H A Dmlib_ImageClipping.c99 mlib_s32 dx, dy, dxd, dxs, dyd, dys, wid_e, hgt_e; local
113 dx = src_wid - dst_wid;
115 if (dx > 0) {
116 dxs = (dx + 1) >> 1;
120 dxd = (-dx) >> 1;
124 dx_r = kw2 + dxs - dx;
/openjdk7/jdk/test/javax/imageio/plugins/bmp/
H A DBMPSubsamplingTest.java91 int dx = 300; field in class:BMPSubsamplingTest
93 int w = dx * colors.length + srcXSubsampling;
302 g.fillRect(i * dx, 0, dx, h);
346 int x = dx / (2 * srcXSubsampling);
359 x += dx / srcXSubsampling;
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DDrawImagePipe.java63 int dx, int dy, int sx, int sy, int w, int h,
62 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/sun/awt/image/
H A DByteInterleavedRaster.java1147 public void setRect(int dx, int dy, Raster srcRaster) { argument
1149 super.setRect(dx, dy, srcRaster);
1157 int dstOffX = dx+srcOffX;
H A DBytePackedRaster.java789 * is copied to address (x+dx, y+dy) in this WritableRaster,
790 * unless (x+dx, y+dy) falls outside the bounds of this raster.
796 * @param dx The X translation factor from src space to dst space
802 public void setRect(int dx, int dy, Raster srcRaster) { argument
806 super.setRect(dx, dy, srcRaster);
814 int dstOffX = dx+srcOffX;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DAnimationController.java236 Graphics g, int dx, int dy, int dw, int dh, State state) {
238 skin.paintSkinRaw(g, dx, dy, dw, dh, state);
251 animationState.paintSkin(skin, g, dx, dy, dw, dh, state);
253 skin.paintSkinRaw(g, dx, dy, dw, dh, state);
378 int dx, int dy, int dw, int dh, State state) {
384 skin.paintSkinRaw(g, dx, dy, dw, dh, startState);
392 skin.paintSkinRaw(g, dx, dy, dw, dh, state);
395 skin.paintSkinRaw(_g, dx, dy, dw, dh, state);
235 paintSkin(JComponent component, Skin skin, Graphics g, int dx, int dy, int dw, int dh, State state) argument
377 paintSkin(Skin skin, Graphics _g, int dx, int dy, int dw, int dh, State state) argument
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLSurfaceData.java178 int dx, int dy) {
188 final double[] coords = {x, y, x + w, y + h, x + dx, y + dy};
194 dx = ((int) Math.ceil(coords[4] - 0.5)) - x;
197 oglRenderPipe.copyArea(sg2d, x, y, w, h, dx, dy);
177 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_Interp.c68 xf = vis_fpadd32(xf, dx); \
80 mlib_d64 xf, xr, dx, yf, yf0, yf1, dy; local
89 dx = vis_to_double_dup(dxfract);

Completed in 604 milliseconds

1234