public void translate(int x, int y) { super.translate(x, y); g.translate(x, y); clip.x -= x; clip.y -= y; }
public void drawRGB(int[] rgbData, int offset, int scanlength, int x, int y, int width, int height, boolean processAlpha) { // TODO implement drawRGB super.drawRGB(rgbData, offset, scanlength, x, y, width, height, processAlpha); }
public void drawRegion(Image src, int x_src, int y_src, int width, int height, int transform, int x_dst, int y_dst, int anchor) { // TODO implement drawRegion super.drawRegion(src, x_src, y_src, width, height, transform, x_dst, y_dst, anchor); }
/** * Draws log entries to the screen * * @param g * the <code>Graphics</code> object to use for drawing. */ public void paint(Graphics g) { // Erase screen g.setColor(255, 255, 255); g.fillRect(0, 0, this.getWidth(), this.getHeight()); g.setColor(0, 0, 0); // Draw all lines int count = 1; for (int index = screenOffset; index < logStrings.size(); index++) { g.drawString(logStrings.elementAt(index).toString(), 0, count * lineSize, Graphics.BASELINE | Graphics.LEFT); count++; } }
/** * DOCUMENT ME! * * @param g DOCUMENT ME! */ protected void paint(Graphics g) { g.drawImage(this.barbecueImage, this.getWidth() / 2, this.getHeight() / 2, Graphics.VCENTER | Graphics.HCENTER); } }
public void translate(int x, int y) { super.translate(x, y); g.translate(x, y); }