public void copyArea(int x, int y, int width, int height, int dx, int dy) { getG2D().copyArea(x,y,width,height,dx,dy); }
@Override public void paint(BufferedImage image, Graphics2D graphics) { graphics.copyArea(srcX, srcY, width, height, x - srcX, y - srcY); } }
public void copyArea(int x, int y, int width, int height, int dx, int dy) { delegate.copyArea(x, y, width, height, dx, dy); }
graphics.copyArea(0, 0, windowWidth-sideBorder-numSamples, windowHeight+additionalFeedbackHeight, numSamples, 0); graphics.setColor(Color.BLACK); graphics.fillRect(0, 30 + (30+binHeight)*bins, numSamples, binHeight + additionalFeedbackHeight);
private void handleCopyRect(CopyRectOrder order, ByteBuffer buf) { // Copy image canvas.getOfflineGraphics().copyArea(order.srcX, order.srcY, order.width, order.height, order.x - order.srcX, order.y - order.srcY); // Request update of repainted area canvas.updateFrameBuffer(order.x, order.y, order.width, order.height); canvas.repaint(order.x, order.y, order.width, order.height); }
@Override public void handleData(ByteBuffer buf, Link link) { if (buf == null) return; if (verbose) System.out.println("[" + this + "] INFO: Data received: " + buf + "."); int x = (Integer)buf.getMetadata(TARGET_X); int y = (Integer)buf.getMetadata(TARGET_Y); int width = (Integer)buf.getMetadata(WIDTH); int height = (Integer)buf.getMetadata(HEIGHT); int srcX = (Integer)buf.getMetadata(SRC_X); int srcY = (Integer)buf.getMetadata(SRC_Y); buf.unref(); // Copy image canvas.getOfflineGraphics().copyArea(srcX, srcY, width, height, x - srcX, y - srcY); // Request update of repainted area canvas.repaint(x, y, width, height); }
@Override public void copyArea(int x, int y, int width, int height, int dx, int dy) { delegate.copyArea(x, y, width, height, dx, dy); }
@Override public void copyArea(int x, int y, int width, int height, int dx, int dy) { wrapped.copyArea(x, y, width, height, dx, dy); }
public void copyArea(int x, int y, int width, int height, int dx, int dy) { System.out.println( "copyArea(int,int,int,int):" ); System.out.println( "x = " + x ); System.out.println( "y = " + y ); System.out.println( "width = " + width ); System.out.println( "height = " + height ); g2D.copyArea( x, y, width, height, dx, dy ); }
public void copyArea(int x, int y, int width, int height, int dx, int dy) { System.out.println( "copyArea(int,int,int,int):" ); System.out.println( "x = " + x ); System.out.println( "y = " + y ); System.out.println( "width = " + width ); System.out.println( "height = " + height ); g2D.copyArea( x, y, width, height, dx, dy ); }
public void copyArea(int x, int y, int width, int height, int dx, int dy) { System.out.println( "copyArea(int,int,int,int):" ); System.out.println( "x = " + x ); System.out.println( "y = " + y ); System.out.println( "width = " + width ); System.out.println( "height = " + height ); g2D.copyArea( x, y, width, height, dx, dy ); }
public void copyArea(int x, int y, int width, int height, int dx, int dy) { getG2D().copyArea(x,y,width,height,dx,dy); }
public void copyArea(int x, int y, int width, int height, int dx, int dy) { getG2D().copyArea(x,y,width,height,dx,dy); }
public void copyArea(int x, int y, int width, int height, int dx, int dy) { getG2D().copyArea(x,y,width,height,dx,dy); }
@Override public final void copyArea(int x, int y, int width, int height, int dx, int dy) { validate(x+dx, y+dy, x+dx+width, y+dy+height); offScreenGraphics2D.copyArea(x, y, width, height, dx, dy); }
@Override public void copyArea(int sx, int sy, int w, int h, int x, int y, int anchor) { x = adjustX(x, w, anchor); y = adjustY(y, h, anchor); g2d.copyArea(sx, sy, w, h, x, y); }