AUI Framework
master
Cross-platform module-based framework for developing C++20 desktop applications
|
Public Member Functions | |
OpenGLMultiStringCanvas (OpenGLRenderer *renderer, const AFontStyle &fontStyle) | |
void | addString (const glm::ivec2 &position, const AString &text) noexcept override |
Bakes a string with some position. More... | |
_< IRenderer::IPrerenderedString > | finalize () noexcept override |
Bakes multi string canvas to IPrerenderedString which can be used for drawing text. More... | |
Public Member Functions inherited from IRenderer::IMultiStringCanvas | |
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. | |
ATextLayoutHelper | getTextLayoutHelper () noexcept |
Returns text layout helper. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IRenderer::IMultiStringCanvas | |
void | notifySymbolAdded (const ATextLayoutHelper::Boundary &symbol) noexcept |
Notifies IMultiStringCanvas than a symbol was added used to construct a ATextLayoutHelper. More... | |
|
inlineoverridevirtualnoexcept |
Bakes a string with some position.
position | position |
text | text |
Implements IRenderer::IMultiStringCanvas.
|
inlineoverridevirtualnoexcept |
Bakes multi string canvas to IPrerenderedString which can be used for drawing text.
_<IRenderer::IPrerenderedString>
to drawElements with. Implements IRenderer::IMultiStringCanvas.