|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
文本渲染。 更多...


类 | |
| class | YSLib::Drawing::EmptyTextRenderer |
| 空文本渲染器。 更多... | |
| class | YSLib::Drawing::GTextRendererBase< _type > |
| 文本渲染器静态多态基类模板。 更多... | |
| class | YSLib::Drawing::TextRenderer |
| 文本渲染器。 更多... | |
| class | YSLib::Drawing::TextRegion |
| 文本区域。 更多... | |
命名空间 | |
| namespace | YSLib |
| namespace | YSLib::Drawing |
| 图形处理。 | |
宏定义 | |
| #define | This static_cast<_type*>(this) |
| #define | CThis static_cast<const _type*>(this) |
函数 | |
| template<typename _tIn , class _tRenderer > | |
| _tIn | YSLib::Drawing::PrintLine (_tRenderer &r, _tIn s) |
| 打印迭代器指定的字符串,直至行尾或字符迭代终止。 | |
| template<typename _tIn , class _tRenderer > | |
| _tIn | YSLib::Drawing::PrintLine (_tRenderer &r, _tIn s, _tIn g, ucs4_t c={}) |
| 打印迭代器指定的字符串,直至行尾或字符迭代终止。 | |
| template<class _tRenderer > | |
| String::size_type | YSLib::Drawing::PrintLine (_tRenderer &r, const String &str) |
| 打印字符串,直至行尾或字符串结束。 | |
| template<typename _tIn , class _tRenderer > | |
| _tIn | YSLib::Drawing::PutLine (_tRenderer &r, _tIn s) |
| 打印迭代器指定的字符串,直至行尾或字符迭代终止。 | |
| template<typename _tIn , class _tRenderer > | |
| _tIn | YSLib::Drawing::PutLine (_tRenderer &r, _tIn s, _tIn g, ucs4_t c={}) |
| 打印迭代器指定的字符串,直至行尾或字符迭代终止。 | |
| template<class _tRenderer > | |
| String::size_type | YSLib::Drawing::PutLine (_tRenderer &r, const String &str) |
| 打印字符串,直至行尾或字符串结束。 | |
| template<typename _tIn , class _tRenderer > | |
| _tIn | YSLib::Drawing::PrintString (_tRenderer &r, _tIn s) |
| 打印迭代器指定的字符串,直至区域末尾或字符迭代终止。 | |
| template<typename _tIn , class _tRenderer > | |
| _tIn | YSLib::Drawing::PrintString (_tRenderer &r, _tIn s, _tIn g, ucs4_t c={}) |
| 打印迭代器指定的字符串,直至区域末尾或字符迭代终止。 | |
| template<class _tRenderer > | |
| String::size_type | YSLib::Drawing::PrintString (_tRenderer &r, const String &str) |
| 打印字符串,直至区域末尾或字符串结束。 | |
| template<typename _tIn , class _tRenderer > | |
| _tIn | YSLib::Drawing::PutString (_tRenderer &r, _tIn s) |
| 打印迭代器指定的字符串,直至区域末尾或字符迭代终止。 | |
| template<typename _tIn , class _tRenderer > | |
| _tIn | YSLib::Drawing::PutString (_tRenderer &r, _tIn s, _tIn g, ucs4_t c={}) |
| 打印迭代器指定的字符串,直至区域末尾或字符迭代终止。 | |
| template<class _tRenderer > | |
| String::size_type | YSLib::Drawing::PutString (_tRenderer &r, const String &str) |
| 打印字符串,直至区域末尾或字符串结束。 | |
| YF_API void | YSLib::Drawing::DrawClippedText (const Graphics &g, const Rect &mask, TextState &ts, const String &str, bool line_wrap) |
| 绘制剪切区域的文本。 | |
| YF_API void | YSLib::Drawing::DrawClippedText (const Graphics &g, const Rect &mask, const Rect &bounds, const String &str, const Padding &m, Color, bool line_wrap, const Font &fnt={}) |
| 绘制剪切区域的文本。 | |
| YF_API void | YSLib::Drawing::DrawText (const Graphics &g, TextState &ts, const String &str, bool line_wrap) |
| 绘制文本。 | |
| YF_API void | YSLib::Drawing::DrawText (const Graphics &g, const Rect &bounds, const String &str, const Padding &m, Color, bool line_wrap, const Font &fnt={}) |
| 绘制文本。 | |
| YF_API void | YSLib::Drawing::DrawText (TextRegion &r, const Graphics &g, const Point &pt, const Size &s, const String &str, bool line_wrap) |
| 绘制文本。 | |
文本渲染。
在文件 TextRenderer.h 中定义.
| #define CThis static_cast<const _type*>(this) |
在文件 TextRenderer.h 第 308 行定义.
| #define This static_cast<_type*>(this) |
< 取文本状态。 取文本状态。 取图形接口上下文。
在文件 TextRenderer.h 第 307 行定义.