|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.sjit.GifHandlerBase
public abstract class GifHandlerBase
Part of the GIF encoder, this class is the base class for each specialized BufferedImage writer. It contains the base code to determine where to write in the BufferedImage.
Field Summary | |
---|---|
protected java.awt.image.BufferedImage |
m_bi
|
protected AnimGifDecoder |
m_gd
|
protected int |
m_h
|
protected GifImaMeta |
m_im
|
protected int |
m_interlace_phase
|
protected int |
m_out_e
|
protected int |
m_out_o
|
protected int |
m_type
|
protected int |
m_w
|
protected int |
m_x
|
protected int |
m_y
|
Constructor Summary | |
---|---|
GifHandlerBase(AnimGifDecoder gd,
GifImaMeta im,
int type)
|
Method Summary | |
---|---|
protected int |
getOffset()
|
protected int |
getRunMax()
Returns the #of pixels that can be written in one go, before end-of-line processing has to take place. |
protected int |
getX()
|
protected int |
getY()
|
protected void |
incrementPos(int nwritten)
Increments the pixel position for when n pixels are written. |
protected abstract void |
pixels(byte[] pix,
int len)
Called when a new set of pixels is available. |
protected abstract java.awt.image.BufferedImage |
prepare()
Called when the image-to-decode's metadata is known and decoding will commence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AnimGifDecoder m_gd
protected GifImaMeta m_im
protected int m_type
protected java.awt.image.BufferedImage m_bi
protected int m_interlace_phase
protected int m_out_o
protected int m_x
protected int m_y
protected int m_out_e
protected int m_w
protected int m_h
Constructor Detail |
---|
public GifHandlerBase(AnimGifDecoder gd, GifImaMeta im, int type)
Method Detail |
---|
protected int getRunMax()
protected void incrementPos(int nwritten)
protected int getOffset()
protected int getX()
protected int getY()
protected abstract java.awt.image.BufferedImage prepare() throws java.io.IOException
java.io.IOException
protected abstract void pixels(byte[] pix, int len) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |