Class ThincSMsgFBFillGlyph

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgFB
              extended by ThincSMsgFBFillGlyph

public final class ThincSMsgFBFillGlyph
extends ThincSMsgFB

class for filling the regions with transparent bitmap images(glyph map) to the frame buffer. it is almost as same as ThincSMsgFillBilevel

Author:
Young Jin Yoon
See Also:
ThincSMsgFB, ThincSMsgFBFillBilevel

Field Summary
private  ThincSMsgFlagCache cache
           
static int FLAG_ADDCACHE
           
static int FLAG_CACHED
           
static int FLAG_RESIZED
           
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
static int RECT_MESSAGE_SIZE
           
private  ThincSMsgFlagResize resize
           
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgFBFillGlyph(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgFBFillGlyph object.
 
Method Summary
 void process()
          process() get the source glyph-map image from cache or network and try to generate RGB image with those. finally draw it into frame buffer using drawTile(), drawImage(), drawImageScaled() methods from ThincClientCanvas class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_TYPE

public static final int MESSAGE_TYPE
See Also:
Constant Field Values

MESSAGE_SIZE

public static final int MESSAGE_SIZE
See Also:
Constant Field Values

RECT_MESSAGE_SIZE

public static final int RECT_MESSAGE_SIZE
See Also:
Constant Field Values

FLAG_CACHED

public static final int FLAG_CACHED
See Also:
Constant Field Values

FLAG_ADDCACHE

public static final int FLAG_ADDCACHE
See Also:
Constant Field Values

FLAG_RESIZED

public static final int FLAG_RESIZED
See Also:
Constant Field Values

cache

private ThincSMsgFlagCache cache

resize

private ThincSMsgFlagResize resize
Constructor Detail

ThincSMsgFBFillGlyph

public ThincSMsgFBFillGlyph(ThincMsgHandler h,
                            ThincClientCanvas c)
creates ThincSMsgFBFillGlyph object.

Parameters:
h - ThincMsgHandler to handle the message
c - ThincClientCanvas to get the information
Method Detail

process

public void process()
             throws ThincException
process() get the source glyph-map image from cache or network and try to generate RGB image with those. finally draw it into frame buffer using drawTile(), drawImage(), drawImageScaled() methods from ThincClientCanvas class.

Specified by:
process in class ThincMsg
Throws:
ThincException