GG
Public Member Functions | Public Attributes

GG::Font::LineData::CharData Struct Reference

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...

#include <Font.h>

List of all members.

Public Member Functions

 CharData ()
 CharData (X extent_, StrSize str_index, StrSize str_size, CPSize cp_index, const std::vector< boost::shared_ptr< TextElement > > &tags_)

Public Attributes

X extent
StrSize string_index
StrSize string_size
CPSize code_point_index
std::vector< boost::shared_ptr
< FormattingTag > > 
tags

Detailed Description

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

Definition at line 282 of file Font.h.


Constructor & Destructor Documentation

GG::Font::LineData::CharData::CharData ( )

Defauilt ctor.

GG::Font::LineData::CharData::CharData ( X  extent_,
StrSize  str_index,
StrSize  str_size,
CPSize  cp_index,
const std::vector< boost::shared_ptr< TextElement > > &  tags_ 
)

Ctor.


Member Data Documentation

The furthest-right extent of this glyph as it appears on the line.

Definition at line 293 of file Font.h.

The position in the original string of the first character of this glyph.

Definition at line 297 of file Font.h.

The size in the original string of the characters that make up this glyph.

Definition at line 301 of file Font.h.

The code point index of this glyph.

Definition at line 304 of file Font.h.

std::vector<boost::shared_ptr<FormattingTag> > GG::Font::LineData::CharData::tags

The text formatting tags that should be applied before rendering this glyph.

Definition at line 308 of file Font.h.


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