AggPas - Anti-Grain Geomertry for Object Pascal

TAggFontCacheType

Description

TAggFontCacheType defines in what form the internal font manager stores its font's glyph data.

Constant Values

AGG_RasterFontCache

Font manager internally caches the bitmap representations of glyphs at given font height. Consequently skipping over the vector-to-surface step speeds up the final text rendering. On the other side, font cached as the raster cannot be further transformed (like rotated and so).

AGG_VectorFontCache

Font manager internally caches the vectorial representations of glyphs. This gives the font renderer a great flexibility over the rasterization process (all transformations can be applied), but it's a little bit slower because the vector-to-surface process is involved on rendering of each glyph.