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

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

#include <Font.h>

List of all members.

Public Member Functions

 CharData ()
 CharData (int extent_, int original_index, const std::vector< boost::shared_ptr< TextElement > > &tags_)

Public Attributes

int extent
int original_char_index
std::vector< boost::shared_ptr<
FormattingTag > > 
tags


Detailed Description

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.

Definition at line 172 of file Font.h.


Constructor & Destructor Documentation

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

Defauilt ctor.

GG::Font::LineData::CharData::CharData ( int  extent_,
int  original_index,
const std::vector< boost::shared_ptr< TextElement > > &  tags_ 
)

Ctor.


Member Data Documentation

int GG::Font::LineData::CharData::extent

The furthest-right extent in pixels of this character as it appears on the line.

Definition at line 177 of file Font.h.

int GG::Font::LineData::CharData::original_char_index

The position in the original string of this character.

Definition at line 178 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 character.

Definition at line 180 of file Font.h.


The documentation for this struct was generated from the following file:
Generated on Wed Mar 26 14:35:42 2008 for GG by  doxygen 1.5.2