#include <Font.h>
Public Member Functions | |
LineData () | |
int | Width () const |
bool | Empty () const |
Public Attributes | |
std::vector< CharData > | char_data |
Alignment | justification |
Classes | |
struct | CharData |
Contains the extent in pixels, the index into the original string, and the text formatting tags that should be applied before rendering of a visible character. More... |
char_data contains the visible characters for each line, plus any text formatting tags present on that line as well.
Definition at line 166 of file Font.h.
GG::Font::LineData::LineData | ( | ) |
Default ctor.
int GG::Font::LineData::Width | ( | ) | const |
returns the width of the line, in pixels
bool GG::Font::LineData::Empty | ( | ) | const |
returns true iff char_data has size 0
std::vector<CharData> GG::Font::LineData::char_data |
Alignment GG::Font::LineData::justification |