CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::TextLayout Struct Reference

A structure that describes how text is layout in a text container. More...

#include <CeresEngine/Text/TextLayout.hpp>

Public Member Functions

 TextLayout (TextContainer &container)
 Creates a new TextLayout for the given container.
 

Public Attributes

TextContainercontainer
 The text container this layout represents.
 
UInt32 offset
 An offset into the glyph data buffer.
 
Vector< GlyphLayoutglyphs
 A vector that describes the positioning and rendering information of all glyphs in a text.
 

Detailed Description

A structure that describes how text is layout in a text container.

Constructor & Destructor Documentation

◆ TextLayout()

CeresEngine::TextLayout::TextLayout ( TextContainer container)

Creates a new TextLayout for the given container.

Member Data Documentation

◆ container

TextContainer& CeresEngine::TextLayout::container

The text container this layout represents.

◆ glyphs

Vector<GlyphLayout> CeresEngine::TextLayout::glyphs

A vector that describes the positioning and rendering information of all glyphs in a text.

◆ offset

UInt32 CeresEngine::TextLayout::offset

An offset into the glyph data buffer.


The documentation for this struct was generated from the following file: