Function CE::Text::layout_text(const Font&, std::string_view, const LayoutOptions&)
Defined in File layout.h
Function Documentation
-
ShapedText CE::Text::layout_text(const Font &font, std::string_view text, const LayoutOptions &options = {})
Declaration:
[[nodiscard]]Shape using font.collection(options.font_style), selecting one nearest face per retained family.
The original Context is unnecessary; an empty Font rejects. Source ownership, wrapping and errors otherwise follow the collection overload.