Go to the source code of this file.
Namespaces | |
| namespace | Pentagram |
Functions | |
| Pentagram::DEFINE_RUNTIME_CLASSTYPE_CODE_BASE_CLASS (Font) Font | |
| template<class T> | |
| static void | findWordEnd (const std::string &text, std::string::const_iterator &iter, bool u8specials) |
| template<class T> | |
| static void | passSpace (const std::string &text, std::string::const_iterator &iter, bool u8specials) |
| 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) |
| template std::list< PositionedText > | typesetText< Pentagram::Font::Traits > (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) |
| template std::list< PositionedText > | typesetText< Pentagram::Font::SJISTraits > (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) |
| static void findWordEnd | ( | const std::string & | text, | |
| std::string::const_iterator & | iter, | |||
| bool | u8specials | |||
| ) | [static] |
| static void passSpace | ( | const std::string & | text, | |
| std::string::const_iterator & | iter, | |||
| bool | u8specials | |||
| ) | [static] |
| 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 | |||
| ) |
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.
| template std::list<PositionedText> typesetText< Pentagram::Font::SJISTraits > | ( | 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 | |||
| ) |
| template std::list<PositionedText> typesetText< Pentagram::Font::Traits > | ( | 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 | |||
| ) |
1.4.7