|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| size_t MayaFlux::Portal::Text::TextRun::index_at | ( | glm::vec2 | px | ) |
Byte offset of the codepoint boundary nearest a layout pixel.
| px | Point in layout pixels with y down. |
Definition at line 129 of file TextRun.cpp.
References atlas(), current, MayaFlux::Portal::Text::index_at(), lay_out_text(), m_atlas, m_layout, m_params, m_text, px, MayaFlux::Portal::Text::PressParams::render_bounds, and stale().
Here is the call graph for this function: