|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
explicit |
Construct an atlas for a specific face and pixel size.
| face | Loaded FontFace. Must outlive this atlas. |
| pixel_size | Glyph height in pixels (width is derived by FreeType). |
| atlas_size | Width and height of the atlas texture in pixels. Must be a power of two. Default 512 is sufficient for ASCII + extended Latin at sizes up to ~48px. |
Definition at line 7 of file GlyphAtlas.cpp.
References atlas_size(), m_texture, and MayaFlux::Portal::Graphics::R8.
Here is the call graph for this function: