MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Text::LayoutResult Struct Reference

Result of lay_out(), carrying the quads and the final pen position. More...

#include <TypeSetter.hpp>

+ Collaboration diagram for MayaFlux::Portal::Text::LayoutResult:

Public Attributes

float final_pen_x { 0.F }
 
float final_pen_y { 0.F }
 
std::vector< GlyphQuadquads
 

Detailed Description

Result of lay_out(), carrying the quads and the final pen position.

final_pen_x and final_pen_y are the pen coordinates immediately after the last codepoint was processed. impress() uses these directly to update the TextBuffer cursor, avoiding re-deriving the position from quad geometry (which is incorrect after a newline resets pen_x mid-run).

Definition at line 34 of file TypeSetter.hpp.


The documentation for this struct was generated from the following file: