|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API GlyphOutline MayaFlux::Portal::Text::decompose_glyph | ( | uint32_t | codepoint, |
| float | tolerance = 0.5F |
||
| ) |
Decompose a Unicode codepoint using the default atlas pixel size.
Convenience overload that reads pixel_size from TypeFaceFoundry's default atlas. Requires set_default_font() to have been called.
| codepoint | Unicode codepoint. |
| tolerance | Flatness tolerance in pixels. |
Definition at line 231 of file GlyphOutline.cpp.
References MayaFlux::Journal::API, MayaFlux::Portal::Text::GlyphOutline::codepoint, decompose_glyph(), MayaFlux::Portal::Text::TypeFaceFoundry::get_default_glyph_atlas(), MayaFlux::Portal::Text::TypeFaceFoundry::instance(), MF_ERROR, MayaFlux::Journal::Portal, and tolerance.
Here is the call graph for this function: