com.openpcl.pclrenderimage.api
Interface IPluginHooksPriFonts

All Known Implementing Classes:
PriFonts

public interface IPluginHooksPriFonts

The methods in this interface are designed to be overridden by a subclass of PriFonts that is a plugin that adds additional features. Therefore, it is mandatory to not delete or rename these methods or else you'll break the plugin support that adds additional features.

Author:
DocMagic, Document Systems Inc, Howard. 12/27/06

Method Summary
 void freeUpMemory()
          When the user is done with this rendering session, then free up memory
 int getPixelWidthFromCharMeasurement(char pCharToDraw)
          Get the pixel width of the char from the char measurement instead of from the printer font tables.
 int getScreenFontPixelHeightFor1Char(char pCharToDraw)
          Get the Screen Font height of this char.
 void setPrimaryFont(Font pPrimaryFont)
          Set the primary font
 void setToInitialValues()
          Set to initial values
 

Method Detail

setToInitialValues

void setToInitialValues()
Set to initial values


freeUpMemory

void freeUpMemory()
When the user is done with this rendering session, then free up memory


getPixelWidthFromCharMeasurement

int getPixelWidthFromCharMeasurement(char pCharToDraw)
Get the pixel width of the char from the char measurement instead of from the printer font tables.


getScreenFontPixelHeightFor1Char

int getScreenFontPixelHeightFor1Char(char pCharToDraw)
Get the Screen Font height of this char.


setPrimaryFont

void setPrimaryFont(Font pPrimaryFont)
Set the primary font



OpenPCL http://www.openpcl.com