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