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