org.sunflow.core.display

Class ImgPipeDisplay

Implemented Interfaces:
Display

public class ImgPipeDisplay
extends JPanel
implements Display

Constructor Summary

ImgPipeDisplay()
Render to stdout using the imgpipe protocol used in mental image's imf_disp viewer.

Method Summary

void
imageBegin(int w, int h, int bucketSize)
void
imageEnd()
void
imageFill(int x, int y, int w, int h, Color c)
void
imagePrepare(int x, int y, int w, int h, int id)
void
imageUpdate(int x, int y, int w, int h, Color[] data)

Constructor Details

ImgPipeDisplay

public ImgPipeDisplay()
Render to stdout using the imgpipe protocol used in mental image's imf_disp viewer. http://www.lamrug.org/resources/stubtips.html

Method Details

imageBegin

public void imageBegin(int w,
                       int h,
                       int bucketSize)
Specified by:
imageBegin in interface Display

imageEnd

public void imageEnd()
Specified by:
imageEnd in interface Display

imageFill

public void imageFill(int x,
                      int y,
                      int w,
                      int h,
                      Color c)
Specified by:
imageFill in interface Display

imagePrepare

public void imagePrepare(int x,
                         int y,
                         int w,
                         int h,
                         int id)
Specified by:
imagePrepare in interface Display

imageUpdate

public void imageUpdate(int x,
                        int y,
                        int w,
                        int h,
                        Color[] data)
Specified by:
imageUpdate in interface Display