Castle Game Engine: CastleBitmapFonts

# Unit CastleBitmapFonts
Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables
## Description Bitmap fonts types. Bitmap fonts are a 2D bit array, indicating which pixel is drawn. They may be represented using types in this unit. We also have CastleFont2Pascal unit that can even convert such fonts to Pascal units, to embed fonts inside Pascal code. Types in this unit were defined with the idea to easily use them with OpenGL `glBitmap` and `glPixelStorei` procedures (see e.g. unit CastleGLBitmapFonts that does exactly this). However, this unit does not depend on OpenGL, it's generally-usable. ## Overview ### Classes, Interfaces, Objects and Records
Name | Description
--- | ---
record `TBitmapCharInfo` |
packed record `TBitmapChar` | `TBitmapChar` record defines the bitmap character.
Class `TBitmapFont` |
### Functions and Procedures
`function BitmapCharRowByteLength(Width, Alignment: Cardinal): Cardinal; overload;`
`function BitmapCharRowByteLength(BitmapChar: PBitmapChar): Cardinal; overload;`
### Types
`PBitmapChar = ˆTBitmapChar;`
`TBitmapFontArray = array [char] of PBitmapChar;`
## Description ### Functions and Procedures
`function BitmapCharRowByteLength(Width, Alignment: Cardinal): Cardinal; overload;`
`function BitmapCharRowByteLength(BitmapChar: PBitmapChar): Cardinal; overload;`
### Types
`PBitmapChar = ˆTBitmapChar;`
`TBitmapFontArray = array [char] of PBitmapChar;`
Generated by PasDoc 0.13.0 on 2013-08-17 21:27:12