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 280 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 291 of file Font.h.

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

Definition at line 295 of file Font.h.

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

Definition at line 299 of file Font.h.

The code point index of this glyph.

Definition at line 302 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 306 of file Font.h.


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

Generated on Sat Mar 26 07:08:38 2011 for GG by  doxygen 1.5.9