|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openpcl.pclrenderimage.softfont.PriParseSoftFontBytes
public class PriParseSoftFontBytes
Parse Soft Font PCL command bytes using: PriFontDownloader, PriBitmapFontDownloader, PriFontHeaderFactory, PriFontHeader, PriBitmapFontHeader, PriFontBase, PriBitmapFont into classes: PriPclContext, PriFontManager, Hashtable softfonts, PriBitmapCharacter, Hashtable characters
Field Summary | |
---|---|
protected PriFontDownloader |
mPriFontDownloader
|
protected PriPclContext |
mPriPclContext
|
static int |
sFONTCONTROL_ASSIGN_CURRENTLY_INVOKED_SOFTFONT_AS_TEMPORARY
|
static int |
sFONTCONTROL_DELETE_ALL_SOFTFONTS
|
static int |
sFONTCONTROL_DELETE_ALL_TEMPORARY_SOFTFONTS
|
static int |
sFONTCONTROL_DELETE_LAST_SOFTFONT_CHARACTER_SPECIFIED
|
static int |
sFONTCONTROL_DELETE_LAST_SOFTFONT_ID_SPECIFIED
|
static int |
sFONTCONTROL_MAKE_SOFTFONT_PERMANENT
|
static int |
sFONTCONTROL_MAKE_SOFTFONT_TEMPORARY
|
static int |
sMAX_FONT_ID
|
static int |
sMIN_FONT_ID
|
Constructor Summary | |
---|---|
PriParseSoftFontBytes()
|
Method Summary | |
---|---|
void |
assignSoftFontId(int pSoftFontIdNumber)
Assign soft font ID |
void |
fontControlForSoftFonts(int pFontControlCommand)
Handle soft font command from PCL bytes. |
void |
freeUpMemory()
When the user is done with this rendering session, then free up memory |
PriPclContext |
getPclContext()
Get Pcl context |
void |
selectSoftFontById(int pSoftFontIdNumber)
Select soft font by ID |
void |
setCharCodeForNextCharDownload(int pCharCodeForNextCharDownload)
Set character code for the next char download on PriFontDownloader |
void |
setToInitialValues()
Set to initial values |
void |
transferSoftFontHeaderData(int pNumBytes,
byte[] pHeaderDataByteArray)
Transfer soft font header data |
void |
transferSoftFontPerCharacterData(int pNumBytes,
byte[] pPerCharDataByteArray)
Set the byte array of the soft font char data into the PriFontDownloader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int sFONTCONTROL_DELETE_ALL_SOFTFONTS
public static final int sFONTCONTROL_DELETE_ALL_TEMPORARY_SOFTFONTS
public static final int sFONTCONTROL_DELETE_LAST_SOFTFONT_ID_SPECIFIED
public static final int sFONTCONTROL_DELETE_LAST_SOFTFONT_CHARACTER_SPECIFIED
public static final int sFONTCONTROL_MAKE_SOFTFONT_TEMPORARY
public static final int sFONTCONTROL_MAKE_SOFTFONT_PERMANENT
public static final int sFONTCONTROL_ASSIGN_CURRENTLY_INVOKED_SOFTFONT_AS_TEMPORARY
public static final int sMIN_FONT_ID
public static final int sMAX_FONT_ID
protected PriPclContext mPriPclContext
protected PriFontDownloader mPriFontDownloader
Constructor Detail |
---|
public PriParseSoftFontBytes()
Method Detail |
---|
public void setToInitialValues()
public void freeUpMemory()
public PriPclContext getPclContext()
public void selectSoftFontById(int pSoftFontIdNumber)
pSoftFontIdNumber
- public void assignSoftFontId(int pSoftFontIdNumber)
pSoftFontIdNumber
- public void fontControlForSoftFonts(int pFontControlCommand)
pFontControlCommand
- public void transferSoftFontHeaderData(int pNumBytes, byte[] pHeaderDataByteArray)
pNumBytes
- pHeaderDataByteArray
- public void setCharCodeForNextCharDownload(int pCharCodeForNextCharDownload)
pCharCodeForNextCharDownload
- public void transferSoftFontPerCharacterData(int pNumBytes, byte[] pPerCharDataByteArray)
pNumBytes
- pPerCharDataByteArray
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |