|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
#include "InkPress.hpp"#include "TypeFaceFoundry.hpp"#include "TypeSetter.hpp"#include "MayaFlux/Journal/Archivist.hpp"#include "MayaFlux/Kakshya/Source/TextureContainer.hpp"#include "MayaFlux/Portal/Graphics/GraphicsUtils.hpp"
Include dependency graph for InkPress.cpp:Go to the source code of this file.
Namespaces | |
| namespace | MayaFlux |
| Main namespace for the Maya Flux audio engine. | |
| namespace | MayaFlux::Portal |
| namespace | MayaFlux::Portal::Text |
Functions | |
| 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. | |