|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
字符渲染。 更多...
#include "YModules.h"#include <YSLib/Service/TextBase.h>#include <YSLib/Service/yblit.h>#include <cwctype>

命名空间 | |
| YSLib | |
| YSLib::Drawing | |
| 图形处理。 | |
函数 | |
| template<typename _tOut , typename _tIn , typename _fBlitScanner > | |
| void | YSLib::Drawing::BlitGlyphLines (_fBlitScanner scanner, _tOut dst, _tIn src, const Size &ss, const PaintContext &pc, bool neg_pitch) |
| 字符按扫描线块传输。 更多... | |
| template<typename _tOut , typename _tIn , typename _fPixelShader > | |
| void | YSLib::Drawing::BlitGlyphPixels (_fPixelShader blit, _tOut dst, _tIn src, const Size &ss, const PaintContext &pc, bool neg_pitch) |
| 字符按像素块传输。 更多... | |
| YF_API void | YSLib::Drawing::RenderChar (PaintContext &&pc, Color, bool, CharBitmap::BufferType, CharBitmap::FormatType, const Size &) |
| 渲染单个字符。 更多... | |
| YF_API void | YSLib::Drawing::RenderCharAlpha (PaintContext &&pc, Color, bool, CharBitmap::BufferType, CharBitmap::FormatType, const Size &, AlphaType *) |
| 渲染带 Alpha 缓冲的单个字符。 更多... | |
| template<class _tRenderer > | |
| SDst | YSLib::Drawing::GetEndOfLinePositionOf (const _tRenderer &r) |
| 取文本渲染器的行末位置(横坐标)。 更多... | |
| template<class _tRenderer > | |
| void | YSLib::Drawing::PrintChar (_tRenderer &r, ucs4_t c) |
| 打印单个可打印字符。 更多... | |
| YF_API u8 | YSLib::Drawing::PutCharBase (TextState &, SDst, ucs4_t) |
| 使用指定的文本状态和行末位置(横坐标)按需打印换行并判断是否需要渲染单个字符。 更多... | |
| template<class _tRenderer > | |
| u8 | YSLib::Drawing::PutChar (_tRenderer &r, ucs4_t c) |
| 打印单个字符。 更多... | |
字符渲染。
在文件 CharRenderer.h 中定义.