|
BlendBitmapFont | ||
BlendBitmapFont FontIndex, RGB | ||
Parameters: FontIndex = The index identifier of the font you wish to convert RGB = The Colour of the bitmap font in RGB format |
||
Returns: NONE | ||
BlendBitmapFont will blend a bitmap image with a bitmap font. The command scans each letter in your fonts character set comparing them with the bitmap image. Each individual pixel that is not black in the fonts characters, will be replaced with the equivalent pixel from the blend image you provided. This allows you to pre-apply shadings and even rub certain pixels out. FACTS: * The BlendBitmapFont process always treats black (rgb(0,0,0)) as transparent. * Note: BlendBitmapFont only works with Video Bitmap fonts. Mini Tutorial: This simple example loads the windows Arial font. Once loaded it then converts this font to bitmap version and blends it with a previously created shaded image. The result after blending, is that the bitmap font is now shaded.
This example would output.
|
Related Info: | CreateBitmapFont | MakeBitmapFont | MakeShadowBitmapFont : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |