|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| glm::vec2 MayaFlux::Portal::Text::TextRun::extent | ( | ) | const |
Size in pixels the run is drawn at.
render_bounds.x wide and at least one line high, so a region shorter than a line shows its text squeezed to fit rather than spilling past it. Fit the region onto this, not onto render_bounds.
Definition at line 68 of file TextRun.cpp.
References atlas(), current, m_params, and MayaFlux::Portal::Text::PressParams::render_bounds.
Referenced by MayaFlux::Portal::Forma::internal::TextSlice::map(), and vertices().
Here is the call graph for this function:
Here is the caller graph for this function: