Font.h File Reference

Go to the source code of this file.

Namespaces

namespace  Pentagram

Classes

struct  PositionedText
class  Pentagram::Font
struct  Pentagram::Font::Traits
struct  Pentagram::Font::SJISTraits

Functions

template<class T>
std::list< PositionedTexttypesetText (Pentagram::Font *font, const std::string &text, unsigned int &remaining, int width, int height, Pentagram::Font::TextAlign align, bool u8specials, int &resultwidth, int &resultheight, std::string::size_type cursor=std::string::npos)


Function Documentation

template<class T>
std::list<PositionedText> typesetText ( Pentagram::Font font,
const std::string &  text,
unsigned int &  remaining,
int  width,
int  height,
Pentagram::Font::TextAlign  align,
bool  u8specials,
int &  resultwidth,
int &  resultheight,
std::string::size_type  cursor = std::string::npos 
)

Definition at line 142 of file Font.cpp.

References Animation::advance, font, line, pout, Pentagram::Font::TEXT_CENTER, Pentagram::Font::TEXT_LEFT, and Pentagram::Font::TEXT_RIGHT.


Generated on Fri Jul 27 22:28:03 2007 for pentagram by  doxygen 1.4.7