|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
图形用户界面样式。 更多...

函数 | |
| YSL_BEGIN bool | DrawRectRoundCorner (const Graphics &g, const Point &pt, const Size &s, Color c) |
| void | RectDrawArrow (const Graphics &g, const Point &pt, SDst half_size, Rotation rot, Color c) |
| void | DrawArrow (const Graphics &g, const Rect &r, SDst half_size, Rotation rot, Color c) |
| void | DrawCross (const Graphics &g, const Point &pt, const Size &s, Color c) |
| hsl_t | ColorToHSL (Color c) |
| Color | HSLToColor (hsl_t c) |
图形用户界面样式。
在文件 ystyle.cpp 中定义.
| hsl_t ColorToHSL | ( | Color | c | ) |
| void DrawArrow | ( | const Graphics & | g, |
| const Rect & | r, | ||
| SDst | half_size, | ||
| Rotation | rot, | ||
| Color | c | ||
| ) |
在文件 ystyle.cpp 第 110 行定义.
参考 YSLib::Drawing::RDeg0,YSLib::Drawing::RDeg180,YSLib::Drawing::RDeg270,YSLib::Drawing::RDeg90 , 以及 RectDrawArrow().

| void DrawCross | ( | const Graphics & | g, |
| const Point & | pt, | ||
| const Size & | s, | ||
| Color | c | ||
| ) |
| YSL_BEGIN bool DrawRectRoundCorner | ( | const Graphics & | g, |
| const Point & | pt, | ||
| const Size & | s, | ||
| Color | c | ||
| ) |
在文件 ystyle.cpp 第 38 行定义.
参考 DrawHLineSeg(),YSLib::Drawing::DrawPoint(),DrawVLineSeg() , 以及 YB_LIKELY.
参考自 YSL_BEGIN::RectDrawButton().


| Color HSLToColor | ( | hsl_t | c | ) |
在文件 ystyle.cpp 第 188 行定义.
参考自 DrawThumbBackground(),YSL_BEGIN::RectDrawButton() , 以及 YSL_BEGIN::RectDrawCheckBox().

| void RectDrawArrow | ( | const Graphics & | g, |
| const Point & | pt, | ||
| SDst | half_size, | ||
| Rotation | rot, | ||
| Color | c | ||
| ) |
在文件 ystyle.cpp 第 64 行定义.
参考 DrawHLineSeg(),DrawVLineSeg(),YSLib::Drawing::RDeg0,YSLib::Drawing::RDeg180,YSLib::Drawing::RDeg270,YSLib::Drawing::RDeg90 , 以及 YAssert.
参考自 DrawArrow().

