BDFfont
TBDF_Font Methods
TBDF_Font | Legend
Methods
Method Description
AddGlyphToFullBitmap Add a glyph to the font system AddGlyphToFullBitmap simply add the glyph in the internal representation of the font.
Create Creates and initializes a TBDF_Font.
Destroy Destroys an instance of TBDF_Font.
DrawText Draw a string on the Canvas at position (X,Y) To call the Draw method, the BDFfont must be initialized, by LoadFromFile method. Canvas drawing method can be configured as standard canvas routine. Beware that some character may not be defined ih the BDF font file you load !
InitFullBitmap  
LoadFromFile Load a BDF font from a file The file is load as CSV file (in fact, a text file separated by space). When loading very large file, use OnProgressLoading to be aware of progress loading.
SaveToBitmap Save the font to BMP file The BDF font is export in BMP file, 1bit for color. All the glyphs are inside, from left to right
SetPixelSpaceChar Change pixel space between two char (glyph) When the font is created, the value is set by default at 2 pixels, but can be changed with this method. A negative value will be converted to 0.

Created with a demo version of Doc-O-Matic. This version is supplied for evaluation purposes only, do not distribute this documentation. To obtain a commercial license please see http://www.doc-o-matic.com/purchase.html.
Copyright (c) 2003. All rights reserved.