public void drawImage(Image img, int x, int y, int anchor, int manipulation) {
this.my_g.drawImage(img, x, y, anchor);
}
public void drawPixels(int[] pixels, boolean transparency, int offset, int scanlength, int x, int y, int width, int height, int manipulation, int format) {
for(int i = x; i < x + width; ++i) {
for(int j = y; j < y + height; ++j) {
this.my_g.setColor(0);
this.my_g.drawLine(i, j, i, j);
}
}
}
public void drawPixels(short[] pixels, boolean transparency, int offset, int scanlength, int x, int y, int width, int height, int manipulation, int format) {
if (format == 4444) {
int total_offset = offset;
int x_limit = x + width;
int y_limit = y + height;
for(int j = y; j < y_limit; ++j) {
int current_pixel_offset = total_offset;
for(int i = x; i < x_limit; ++i) {
int current_pixel = pixels[current_pixel_offset++];
public void drawPixels(byte[] pixels, byte[] transparencyMask, int offset, int scanlength, int x, int y, int width, int height, int manipulation, int format) {
this.my_g.drawLine(x, y, width, height);
}
public void getPixels(int[] pixels, int offset, int scanlength, int x, int y, int width, int height, int format) {
}
public void getPixels(byte[] pixels, byte[] transparencyMask, int offset, int scanlength, int x, int y, int width, int height, int format) {
}
public void getPixels(short[] pixels, int offset, int scanlength, int x, int y, int width, int height, int format) {