|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
笔样式:字体和笔颜色。 更多...
#include <TextBase.h>


Public 成员函数 | |
| PenStyle (const Drawing::Font &fnt={}, Drawing::Color c=Drawing::ColorSpace::White) | |
| 构造:使用指定字体家族、字体大小和颜色。 更多... | |
| DefGetterMem (const ynothrow, const FontFamily &, FontFamily, Font) DefGetterMem(const ynothrow | |
Public 属性 | |
| Drawing::Font | Font |
| 字体。 更多... | |
| Drawing::Color | Color |
| 笔颜色。 更多... | |
| FontCache | Cache |
|
inlineexplicit |
| YSLib::Drawing::PenStyle::DefGetterMem | ( | const ynothrow | , |
| const FontFamily & | , | ||
| FontFamily | , | ||
| Font | |||
| ) | const |
| FontCache YSLib::Drawing::PenStyle::Cache |
在文件 TextBase.h 第 71 行定义.
| Drawing::Color YSLib::Drawing::PenStyle::Color |
笔颜色。
在文件 TextBase.h 第 58 行定义.
参考自 YSLib::UI::TextBox::DrawClippedText(), YSLib::Drawing::DrawClippedText() , 以及 YSLib::UI::HexView::HexView().
| Drawing::Font YSLib::Drawing::PenStyle::Font |
字体。
在文件 TextBase.h 第 57 行定义.
参考自 YSLib::DS::UI::DualScreenReader::Execute(), YSLib::Drawing::FetchLastLineBasePosition(), YSLib::Drawing::TextState::GetTextLineBaseOf(), YSLib::Drawing::TextState::GetTextLineHeightExOf(), YSLib::Drawing::TextState::GetTextLineHeightOf(), YSLib::Drawing::MovePen(), YSLib::Drawing::PutCharBase(), YSLib::UI::MTextList::RefreshTextState() , 以及 YSLib::DS::UI::DualScreenReader::SetFontSize().