|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
文本渲染器:简单实现。 更多...
#include <TextRenderer.h>


Public 成员函数 | |
| TextRenderer (TextState &ts, const Graphics &g) | |
| TextRenderer (TextState &ts, const Graphics &g, const Rect &mask) | |
| void | operator() (ucs4_t) |
| 渲染单个字符。 更多... | |
| ImplS (GTextRendererBase) DefGetter(const ynothrow | |
| const TextState State | ImplS (GTextRendererBase) DefGetter(ynothrow |
| const TextState State TextState State | ImplS (GTextRendererBase) DefGetter(const ynothrow |
Public 成员函数 继承自 YSLib::Drawing::GTextRendererBase< TextRenderer > | |
| DeclSEntry (const TextState &GetTextState() const) DeclSEntry(TextState &GetTextState()) DeclSEntry(const Graphics &GetContext() const ) DefGetter(const | |
| < 取文本状态。 更多... | |
| FetchResizedLineN (static_cast< const TextRenderer * >(this) ->GetTextState(), static_cast< const TextRenderer * >(this) ->GetContext().GetHeight())) DefGetter(const | |
| 取按当前行高和行距(行间距数小于行数 1 )所能显示的最大行数。 更多... | |
Public 属性 | |
| TextState & | State |
| const Graphics & | Buffer |
| Rect | ClipArea |
| const TextState | TextState |
| const TextState State TextState | TextState |
| const TextState State TextState State const Graphics | Context |
Public 属性 继承自 YSLib::Drawing::GTextRendererBase< TextRenderer > | |
| u16 | |
| TextLineN | |
| TextLineNEx | |
| const TextState State TextState State const Graphics Buffer | SDst |
| const TextState State TextState State const Graphics Buffer | Width |
| const TextState State TextState State const Graphics Buffer Buffer SDst | n |
| const TextState State TextState State const Graphics Buffer | DefGetterMem (const ynothrow, SDst, Height, Buffer) DefGetterMem(const ynothrow |
| const TextState State TextState State const Graphics Buffer Buffer | DefGetterMem (const ynothrow, const Size &, Size, Buffer) void ClearLine(u16 l |
| 清除缓冲区第 l 行起始的 n 行像素。 更多... | |
在文件 TextRenderer.h 第 368 行定义.
|
inline |
在文件 TextRenderer.h 第 376 行定义.
| const TextState State TextState State const Graphics Buffer YSLib::Drawing::TextRenderer::DefGetterMem | ( | const ynothrow | , |
| SDst | , | ||
| Height | , | ||
| Buffer | |||
| ) | const |
| const TextState State TextState State const Graphics Buffer Buffer YSLib::Drawing::TextRenderer::DefGetterMem | ( | const ynothrow | , |
| const Size & | , | ||
| Size | , | ||
| Buffer | |||
| ) |
清除缓冲区第 l 行起始的 n 行像素。
| YSLib::Drawing::TextRenderer::ImplS | ( | GTextRendererBase | ) | const |
| const TextState State YSLib::Drawing::TextRenderer::ImplS | ( | GTextRendererBase | ) |
| const TextState State TextState State YSLib::Drawing::TextRenderer::ImplS | ( | GTextRendererBase | ) | const |
| void YSLib::Drawing::TextRenderer::operator() | ( | ucs4_t | c | ) |
| const Graphics& YSLib::Drawing::TextRenderer::Buffer |
在文件 TextRenderer.h 第 365 行定义.
| Rect YSLib::Drawing::TextRenderer::ClipArea |
在文件 TextRenderer.h 第 366 行定义.
在文件 TextRenderer.h 第 390 行定义.
| const TextState State TextState State const Graphics Buffer Buffer SDst YSLib::Drawing::TextRenderer::n |
在文件 TextRenderer.h 第 406 行定义.
在文件 TextRenderer.h 第 395 行定义.
| TextState& YSLib::Drawing::TextRenderer::State |
在文件 TextRenderer.h 第 364 行定义.
| const TextState YSLib::Drawing::TextRenderer::TextState |
在文件 TextRenderer.h 第 387 行定义.
在文件 TextRenderer.h 第 389 行定义.
在文件 TextRenderer.h 第 395 行定义.