YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
TextRenderer.h 文件参考

文本渲染。 更多...

#include "CharRenderer.h"
#include "../Core/ystring.h"
TextRenderer.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

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)
 绘制文本。
 

详细描述

文本渲染。

版本
r2803
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 275
创建时间:
2009-11-13 00:06:05 +0800
修改时间:
2013-02-04 17:49 +0800
文本编码:
UTF-8
模块名称:
YSLib::Service::TextRenderer

在文件 TextRenderer.h 中定义.

宏定义说明

#define CThis   static_cast<const _type*>(this)

在文件 TextRenderer.h308 行定义.

#define This   static_cast<_type*>(this)

< 取文本状态。 取文本状态。 取图形接口上下文。

在文件 TextRenderer.h307 行定义.