Function CE::Rendering::Submission::resolve_text(const CE::Text::Rendering::Generation&, const DrawStyle2D&, const Context2D&)
Defined in File draw2d.h
Function Documentation
-
std::vector<DrawPacket2D> CE::Rendering::Submission::resolve_text(const CE::Text::Rendering::Generation &text, const DrawStyle2D &style, const Context2D &context)
Declaration:
[[nodiscard]]Resolve one immutable Unicode generation into authored-order glyph packets.
See also
- Parameters:
text – Stable uploaded generation; no discovery, shaping, rasterization or upload is repeated.
style – Explicit material wins over the generation default; glyph offsets are scaled then transformed.
context – Pass values with required nonempty page-image key absent from style.parameters.
- Returns:
Owned six-vertex glyph packets retaining selected page resources; empty for no glyph draws. Missing/duplicate image insertion or invalid ranges/material/parameters rejects the complete CPU result. Allocation failures propagate; no frame publication occurs.