YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
屏幕二元组。 更多...
#include <ygdibase.h>
Public 成员函数 | |
yconstfn | GBinaryGroup () ynothrow |
无参数构造。 | |
yconstfn | GBinaryGroup (const GBinaryGroup &)=default |
复制构造:默认实现。 | |
yconstfn | GBinaryGroup (const Size &) ynothrow |
构造:使用 Size 对象。 | |
yconstfn | GBinaryGroup (const Rect &) ynothrow |
构造:使用 Rect 对象。 | |
template<typename _tScalar1 , typename _tScalar2 > | |
yconstfn | GBinaryGroup (_tScalar1 x, _tScalar2 y) ynothrow |
构造:使用两个纯量。 | |
yconstfn GBinaryGroup | operator- () ynothrow |
负运算:取加法逆元。 | |
GBinaryGroup & | operator+= (const GBinaryGroup &val) ynothrow |
加法赋值。 | |
GBinaryGroup & | operator-= (const GBinaryGroup &val) ynothrow |
减法赋值。 | |
yconstfn _type | GetX () const ynothrow |
yconstfn _type | GetY () const ynothrow |
void | SetX (_type _tempArgName) |
void | SetY (_type _tempArgName) |
yconstfn bool | IsZero () const ynothrow |
判断是否是零元素。 | |
_type & | GetRef (bool b=true) ynothrow |
选择分量引用。 | |
const _type & | GetRef (bool b=true) const ynothrow |
选择分量常量引用。 | |
Public 属性 | |
_type | X |
_type | Y |
分量。 | |
静态 Public 属性 | |
static yconstexpr GBinaryGroup | Invalid |
无效(不在屏幕坐标系中)对象。 | |
屏幕二元组。
在文件 ygdibase.h 第 50 行定义.
|
inline |
|
default |
复制构造:默认实现。
|
explicit |
构造:使用 Size 对象。
|
explicit |
|
inline |
|
inline |
选择分量引用。
在文件 ygdibase.h 第 139 行定义.
参考自 YSLib::UI::ATrack::SetThumbPosition().
|
inline |
|
inline |
在文件 ygdibase.h 第 122 行定义.
|
inline |
在文件 ygdibase.h 第 123 行定义.
|
inline |
判断是否是零元素。
在文件 ygdibase.h 第 131 行定义.
|
inline |
加法赋值。
在文件 ygdibase.h 第 107 行定义.
|
inline |
|
inline |
减法赋值。
在文件 ygdibase.h 第 116 行定义.
|
inline |
在文件 ygdibase.h 第 125 行定义.
|
inline |
在文件 ygdibase.h 第 126 行定义.
|
static |
无效(不在屏幕坐标系中)对象。
在文件 ygdibase.h 第 53 行定义.
_type YSLib::Drawing::GBinaryGroup< _type >::X |
在文件 ygdibase.h 第 56 行定义.
参考自 YSLib::Drawing::AdjustEndOfLine(),YSLib::Drawing::Blit(),YSLib::Drawing::CarriageReturn(),YSLib::UI::TextList::CheckPoint(),YSLib::UI::Contains(),YSLib::UI::ContainsVisible(),YSLib::UI::Menu::DrawItem(),YSLib::UI::TextList::DrawItemBackground(),YSLib::Drawing::DrawLineSeg(),YSLib::Drawing::DrawPoint(),YSLib::UI::MLabel::DrawText(),YSLib::Drawing::FetchStringWidth() , 以及 YSLib::Drawing::RectTransformer::operator()().
_type YSLib::Drawing::GBinaryGroup< _type >::Y |
分量。
在文件 ygdibase.h 第 56 行定义.
参考自 YSLib::Drawing::Blit(),YSLib::UI::TextList::CheckPoint(),YSLib::UI::Contains(),YSLib::UI::ContainsVisible(),YSLib::UI::Menu::DrawItem(),YSLib::UI::TextList::DrawItemBackground(),YSLib::UI::TextList::DrawItems(),YSLib::Drawing::DrawLineSeg(),YSLib::Drawing::DrawPoint(),YSLib::UI::MLabel::DrawText(),YSLib::Drawing::GetCurrentTextLineNOf(),YSLib::UI::TextList::InvalidateSelected(),YSLib::Drawing::RectTransformer::operator()(),YSLib::Drawing::TextState::PutNewline(),YSLib::Drawing::TextState::ResetPen() , 以及 DualScreenReader::ScrollByPixel().