public void startRender() { pimg.setSize(canvas.getSize().width, canvas.getSize().height); if (doclear) pimg.clear(); }
public int getWidth() { return pimg.getWidth(); }
public void setup(Rasterizer ras) { ras.setup(pimg.getPixels(), pimg.getWidth(), pimg.getHeight()); }
public int getHeight() { return pimg.getHeight(); }
SAwtThreadView() { canvas = new SCanvas(); canvas.setBackground(Color.WHITE); pimg = new SPixelImage(); pimg.setComponent(canvas); }