|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
A colored byte range within the text passed to a composite call. More...
#include <InkPress.hpp>
Collaboration diagram for MayaFlux::Portal::Text::StyleSpan:Public Attributes | |
| glm::vec4 | color |
| size_t | end |
| size_t | start |
A colored byte range within the text passed to a composite call.
start/end are byte offsets into that call's own text argument, matching GlyphQuad::byte_offset as produced by lay_out() for that same text, not offsets into any longer accumulated history. Quads whose byte_offset falls in [min(start,end), max(start,end)) are rasterized in this span's color instead of the call's base color. Spans may overlap; where they do, the later entry in the vector wins for the overlapping quads. Quads matched by no span keep the call's base color.
Definition at line 43 of file InkPress.hpp.