|
AUI Framework
master
Cross-platform base for C++ UI apps
|
Public Member Functions# | |
| void | enableCachingForTextLayoutHelper () noexcept |
| Notifies IMultiStringCanvas that getTextLayoutHelper() will be used. | |
| void | nextLine () noexcept |
| When caching for text layout helper is enabled, a new line added. | |
| virtual void | addString (const glm::ivec2 &position, const AString &text) noexcept=0 |
| Bakes a string with some position. | |
| virtual _< IRenderer::IPrerenderedString > | finalize () noexcept=0 |
| Bakes multi string canvas to IPrerenderedString which can be used for drawing text. | |
| ATextLayoutHelper | getTextLayoutHelper () noexcept |
| Returns text layout helper. | |
Protected Member Functions# | |
| void | notifySymbolAdded (const ATextLayoutHelper::Boundary &symbol) noexcept |
| Notifies IMultiStringCanvas than a symbol was added used to construct a ATextLayoutHelper. | |
|
pure virtualnoexcept |
| position | position |
| text | text |
|
pure virtualnoexcept |
_<IRenderer::IPrerenderedString> to drawElements with.
|
inlinenoexcept |
IRenderer::ITextLayoutHelper constructed from IMultiStringCanvas's cache to efficiently map cursor position to the string index.
|
inlineprotectednoexcept |
| symbol | symbol data to add |