Class Prepared
Defined in File unicode-text.h
Class Documentation
-
class Prepared
Owned CPU layout, grayscale pages and geometry.
Only distinct visible glyphs used by this message are admitted; spaces/empty outlines keep their advances without quads. Optional positioned geometry repeats quads in authored order for run submission. No provider is retained or invoked during preparation.
Public Functions
-
inline const ShapedText &layout() const noexcept
Declaration:
[[nodiscard]]Borrow the retained immutable shaping result.
Keep this value alive and unmoved while using a returned view/reference.
-
inline std::span<const PreparedPage> pages() const noexcept
Declaration:
[[nodiscard]]Borrow owned CPU alpha pages and glyph vertices.
Keep this value alive and unmoved while using a returned view/reference.
-
inline std::span<const GlyphDraw> draws() const noexcept
Declaration:
[[nodiscard]]Borrow visible glyph placements in authored order.
Keep this value alive and unmoved while using a returned view/reference.
-
inline bool has_positioned_runs() const noexcept
Declaration:
[[nodiscard]]Return whether positioned-run preparation was requested, even if no visible glyphs exist.
-
inline const ShapedText &layout() const noexcept