Go to the source code of this file.
|
| ImpressResult | MayaFlux::Portal::Text::impress (const std::shared_ptr< Buffers::TextBuffer > &target, std::string_view text, glm::vec4 color={ 1.F, 1.F, 1.F, 1.F }) |
| | Append a UTF-8 string into an existing TextBuffer at the current cursor.
|
| |
| void | MayaFlux::Portal::Text::ink_quads (const std::shared_ptr< Buffers::TextBuffer > &target, std::span< const GlyphQuad > quads, glm::vec4 color) |
| | Rasterize a mutated quad span into an existing TextBuffer.
|
| |
| std::shared_ptr< Buffers::TextBuffer > | MayaFlux::Portal::Text::press (std::string_view text, const PressParams ¶ms={}) |
| | Composite a UTF-8 string into a new TextBuffer.
|
| |
| void | MayaFlux::Portal::Text::rasterize_quads (std::span< const GlyphQuad > quads, GlyphAtlas &atlas, glm::vec4 color, uint8_t *dst, uint32_t buf_w, uint32_t buf_h) |
| | Write glyph quads into a caller-provided RGBA8 pixel buffer.
|
| |
| bool | MayaFlux::Portal::Text::repress (const std::shared_ptr< Buffers::TextBuffer > &target, std::string_view text, glm::vec4 color={ 1.F, 1.F, 1.F, 1.F }, RedrawPolicy policy=RedrawPolicy::Clip) |
| | Re-composite a UTF-8 string into an existing TextBuffer.
|
| |