Text

Generating text geometry.

Classes

  • TTextGeometry — This object takes as input a string, a font and optionally some constraints (like word wrap) and outputs a set of character data you may use for rendering or calculating dimensions.
  • Font Font resource containing data about textual characters and how to render text.
  • FontAtlasRenderer — Handles blitting of individual font glyphs into a texture atlas.
  • FontImportOptions — Import options that allow you to control how is a font imported.
  • StockIcons — Provides easy access to variety of icons for use in the engine.

Structs

Enums

Internal

Symbols intended for engine-internal use. Not part of the public API.

Classes

  • TextGeometry — This object takes as input a string, a font and optionally some constraints (like word wrap) and outputs a set of character data you may use for rendering or calculating dimensions.
  • TextGeometry::Word — Represents a single word as a set of characters, or optionally just a blank space of a certain length.
  • TextGeometry::Line — Represents a single line as a set of words.

Structs

  • StockIcons::StockIconKey Key for cache lookup.
  • TextGeometry::PageInfo — Contains information about a single texture page that contains rendered character data.
  • TextGeometry::TemporaryBuffer — Stores per-thread memory buffers used to reduce memory allocation.