YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
YSLib::Drawing::GTextRendererBase< _type > 模板类 参考

文本渲染器静态多态基类模板。 更多...

#include <TextRenderer.h>

Public 成员函数

 DeclSEntry (const TextState &GetTextState() const) DeclSEntry(TextState &GetTextState()) DeclSEntry(const Graphics &GetContext() const ) DefGetter(const
 < 取文本状态。 更多...
 
 FetchResizedLineN (static_cast< const _type * >(this) ->GetTextState(), static_cast< const _type * >(this) ->GetContext().GetHeight())) DefGetter(const
 取按当前行高和行距(行间距数小于行数 1 )所能显示的最大行数。 更多...
 

Public 属性

 u16
 
 TextLineN
 
 TextLineNEx
 

详细描述

template<class _type>
class YSLib::Drawing::GTextRendererBase< _type >

文本渲染器静态多态基类模板。

警告
非虚析构。
自从
build 266

在文件 TextRenderer.h328 行定义.

成员函数说明

template<class _type>
YSLib::Drawing::GTextRendererBase< _type >::DeclSEntry ( const TextState &GetTextState()  const) const

< 取文本状态。

< 取图形接口上下文。

取按当前行高和行距所能显示的最大行数。

参数
const取文本状态。
template<class _type>
YSLib::Drawing::GTextRendererBase< _type >::FetchResizedLineN ( static_cast< const _type * >  this) ->GetTextState(,
static_cast< const _type * >  this) ->GetContext().GetHeight( 
) const

取按当前行高和行距(行间距数小于行数 1 )所能显示的最大行数。

类成员变量说明

template<class _type>
YSLib::Drawing::GTextRendererBase< _type >::TextLineN

在文件 TextRenderer.h341 行定义.

template<class _type>
YSLib::Drawing::GTextRendererBase< _type >::TextLineNEx

在文件 TextRenderer.h346 行定义.

template<class _type>
YSLib::Drawing::GTextRendererBase< _type >::u16

在文件 TextRenderer.h341 行定义.


该类的文档由以下文件生成: