CrImage::Font
CrImage::Font provides text rendering capabilities with TrueType font support.
Features:
- TrueType font rendering with glyph rasterization
- Multi-line text with word wrapping
- Text alignment (horizontal and vertical)
- Text effects (shadows, outlines, decorations)
- Kerning support
- Font metrics and measurements
This module defines the Face interface for font implementations. Font face implementations are provided by other modules (e.g., FreeType).
Class methods
returns the bounding box of s with f, drawn at a dot equal to the origin, as well as the advance.
Nested types
- CrImage::Font::Drawer
- CrImage::Font::Face
- CrImage::Font::Hinting
- CrImage::Font::HorizontalAlign
- CrImage::Font::Metrics
- CrImage::Font::Outline
- CrImage::Font::Shadow
- CrImage::Font::Stretch
- CrImage::Font::Style
- CrImage::Font::TextBox
- CrImage::Font::TextLayout
- CrImage::Font::TextStyle
- CrImage::Font::VerticalAlign
- CrImage::Font::Weight