|
PrepareFXFont | ||
PrepareFXFont FontIndex | ||
Parameters: FontIndex = The Index of the font you wish to convert |
||
Returns: NONE | ||
PrepareFXFont converts an existing True Type or Bitmap font in FX bitmap font. FX fonts are useful if you wish to render text to image stored in the FX format. FACTS: * Unlike TrueType or Bitmap font, FX fonts can be drawn to both Video and FX images. * When building an FX version of a font from a True Type font, PB will use the current INK colour for the resulting bitmap version. * Use FontMaskColour to change the transparent colour of the font * PrepareFXFont and MakeBitmapFont use the same conversion engine. Making PrepareFxFont ThisFont and MakeBitmapFont ThisFont,InkColour, 4 the same Mini Tutorial: This example loads two copies of the windows true type Arial, build a FX font out of one and then attempts to render some messages to an Image in FX format.
This example would output.
|
Related Info: | CreateBitmapFont | CreateFXFont | FontMaskColour | GetFontType | LoadFont | LoadNewFont | NewBitmapFont | SetFont : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |