class TTextGeometry

template<class AllocatorTag = DefaultAllocatorTag>
Inherits: 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.

Public

Constructors

TTextGeometry<AllocatorTag>

TTextGeometry<AllocatorTag>(const U32String &text, const HFont &font, float fontSize, u32 width = 0, u32 height = 0, bool wordWrap = false, bool wordBreak = true)

Methods

~TTextGeometry<AllocatorTag>

~TTextGeometry<AllocatorTag>()

Private

Fields

mData

u8 * mData