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

文本渲染。 更多...

TextRenderer.cpp 的引用(Include)关系图:

浏览源代码.

函数

void DrawClippedText (const Graphics &g, const Rect &mask, TextState &ts, const String &str, bool line_wrap)
 
void DrawClippedText (const Graphics &g, const Rect &mask, const Rect &bounds, const String &str, const Padding &m, Color c, bool line_wrap, const Font &fnt)
 
void DrawText (const Graphics &g, TextState &ts, const String &str, bool line_wrap)
 
void DrawText (const Graphics &g, const Rect &bounds, const String &str, const Padding &m, Color c, bool line_wrap, const Font &fnt)
 
void DrawText (TextRegion &tr, const Graphics &g, const Point &pt, const Size &s, const String &str, bool line_wrap)
 

详细描述

文本渲染。

版本
r2642
作者
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-03-23 20:59 +0800
文本编码:
UTF-8
模块名称:
YSLib::Service::TextRenderer

在文件 TextRenderer.cpp 中定义.

函数说明

void DrawClippedText ( const Graphics &  g,
const Rect &  mask,
TextState &  ts,
const String &  str,
bool  line_wrap 
)

在文件 TextRenderer.cpp189 行定义.

参考 YSLib::Drawing::PutLine() , 以及 YSLib::Drawing::PutString().

函数调用图:

void DrawClippedText ( const Graphics &  g,
const Rect &  mask,
const Rect &  bounds,
const String &  str,
const Padding &  m,
Color  c,
bool  line_wrap,
const Font &  fnt 
)

在文件 TextRenderer.cpp200 行定义.

参考 YSLib::Drawing::DrawClippedText() , 以及 YSLib::Drawing::FetchMargin().

函数调用图:

void DrawText ( const Graphics &  g,
TextState &  ts,
const String &  str,
bool  line_wrap 
)

在文件 TextRenderer.cpp214 行定义.

参考 YSLib::Drawing::DrawClippedText().

函数调用图:

void DrawText ( const Graphics &  g,
const Rect &  bounds,
const String &  str,
const Padding &  m,
Color  c,
bool  line_wrap,
const Font &  fnt 
)

在文件 TextRenderer.cpp219 行定义.

参考 YSLib::Drawing::DrawClippedText().

函数调用图:

void DrawText ( TextRegion &  tr,
const Graphics &  g,
const Point &  pt,
const Size &  s,
const String &  str,
bool  line_wrap 
)

在文件 TextRenderer.cpp225 行定义.

参考 YSLib::Drawing::BlitTo(),YSLib::Drawing::PutLine() , 以及 YSLib::Drawing::PutString().

函数调用图: