Struct Font
Defined in File font.h
Inheritance Relationships
Base Type
protected CE::Assets::Content2D(Struct Content2D)
Derived Types
public CE::Text::Legacy::AsciiFont(Struct AsciiFont)public CE::Text::Legacy::BitmapFont(Struct BitmapFont)
Struct Documentation
-
struct Font : protected CE::Assets::Content2D
Retains glyph geometry/atlas; direct base construction does not validate them.
Immutable implementations support CPU layout without a graphics context.
Subclassed by CE::Text::Legacy::AsciiFont, CE::Text::Legacy::BitmapFont
Public Functions
-
inline explicit Font(const FontResources &data)
-
virtual ~Font() = default
-
virtual std::vector<GlyphPlacement> layout(std::string_view text, LayoutOptions options = LayoutOptions{}) const = 0
Declaration:
[[nodiscard]]
-
inline explicit Font(const FontResources &data)