g.drawLine(x1, y1, x2, y2);
}
g.drawLine(x1, y1, x2, y2);
}
- public void stroke(org.ibex.graphics.Polygon p, int color) { p.stroke(this, color); }
- public void fill(org.ibex.graphics.Polygon p, org.ibex.graphics.Paint paint) { p.fill(this, paint); }
+ public void stroke(org.ibex.graphics.Mesh p, int color) { /*p.stroke(this, color);*/ }
+ public void fill(org.ibex.graphics.Mesh p, org.ibex.graphics.Paint paint) { /*p.fill(this, paint);*/ }
implements MouseListener, MouseMotionListener, KeyListener, ComponentListener, WindowListener {
protected AWTPixelBuffer pb = null;
implements MouseListener, MouseMotionListener, KeyListener, ComponentListener, WindowListener {
protected AWTPixelBuffer pb = null;
public void blit(PixelBuffer source, int sx, int sy, int dx, int dy, int dx2, int dy2) {
getGraphics().drawImage(((AWTPixelBuffer)source).i, sx, sy, sx+(dx2-dx), sy+(dy2-dy), dx, dy, dx2, dy2, null);
}
public void blit(PixelBuffer source, int sx, int sy, int dx, int dy, int dx2, int dy2) {
getGraphics().drawImage(((AWTPixelBuffer)source).i, sx, sy, sx+(dx2-dx), sy+(dy2-dy), dx, dy, dx2, dy2, null);
}
if (oldfill != root.fillcolor) {
oldfill = root.fillcolor;
window.setBackground((root.fillcolor & 0xFF000000) == 0 ?
if (oldfill != root.fillcolor) {
oldfill = root.fillcolor;
window.setBackground((root.fillcolor & 0xFF000000) == 0 ?
(root.fillcolor >> 8) & 0xff,
(root.fillcolor) & 0xff));
}
(root.fillcolor >> 8) & 0xff,
(root.fillcolor) & 0xff));
}