glscene

 

TGLCustomBitmapFont

Page history last edited by skinhat 4 yrs ago

This is the base class for the bitmapfont property of TGLHudText and TGLLabel. It is overridden by TGLWindowsBitmapFont and TGLBitmapFont thus provides a way of using different types of fonts.

A more formal explanation is:

Provides access to individual characters in a bitmapfont.Only fixed-width bitmap fonts are supported, the characters are enumeratedin a raster fashion (line then column).Transparency is all or nothing, the transparent color being that of thetop left pixel of the Glyphs bitmap.Performance note: as usual, for best performance, you base font bitmapdimensions should be close to a power of two, and have at least 1 pixelspacing between characters (horizontally and vertically) to avoid artefactswhen rendering with linear filtering.

Unit: GLBitmapFont

Descends from TGLUpdateAbleComponent.

Comments (0)

You don't have permission to comment on this page.