GG: GG::Font::LineData Struct Reference

GG

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Classes | Public Member Functions | Public Attributes | List of all members
GG::Font::LineData Struct Reference

`#include <Font.h>`

## Classes
struct | CharData

## Public Member Functions
| LineData ()
X | Width () const
bool | Empty () const

## Public Attributes
std::vector< CharData > | char_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 260 of file Font.h.

## Member Data Documentation

std::vector<CharData> GG::Font::LineData::char_data

Data on each individual glyph.

Definition at line 300 of file Font.h.

Alignment GG::Font::LineData::justification

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

Definition at line 304 of file Font.h.

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

- Font.h