GG
Classes | Public Member Functions | Public Attributes

GG::Font::LineData Struct Reference

Holds the essential data on each line that a string occupies when rendered with given format flags. More...

#include <Font.h>

List of all members.

Classes

struct  CharData
 Contains the extent, the index into the original string, and the text formatting tags that should be applied before rendering of a visible glyph. More...

Public Member Functions

 LineData ()
X Width () const
bool Empty () const

Public Attributes

std::vector< CharDatachar_data
Alignment justification

Detailed Description

Holds the essential data on each line that a string occupies when rendered with given format flags.

char_data contains the visible glyphs for each line, plus any text formatting tags present on that line as well.

Definition at line 275 of file Font.h.


Member Data Documentation

Data on each individual glyph.

Definition at line 320 of file Font.h.

FORMAT_LEFT, FORMAT_CENTER, or FORMAT_RIGHT; derived from text format flags and/or formatting tags in the text.

Definition at line 324 of file Font.h.


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