|
CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
线性渐变画刷 更多...
Public 成员函数 | |
| GBrushGradientLinear () | |
| GBrushGradientLinear (const VecFloat2 &p1, const VecFloat2 &p2) | |
| GBrushGradientLinear (float x1, float y1, float x2, float y2) | |
| ~GBrushGradientLinear () | |
| void | SetPosition (const VecFloat2 &p1, const VecFloat2 &p2) |
| void | ShellGradientAttribute (const BeString &str_name, const BeString &str_value) |
| BrushStyle | GetBrushStyle () override |
| void | ApplyBrushTransform (PathTransform *trans) override |
| void | ApplyBrushRect (RECT rc, BOOL is_percent=TRUE) override |
| Public 成员函数 继承自 BUI::GBrushGradient | |
| GBrushGradient () | |
| virtual | ~GBrushGradient () |
| void | SetGradientColors (GradientColors *colors) |
| 设置不同状态下的颜色表 | |
| GradientColors * | GetStatusColors () const |
| TransformGradient & | GradientTransMtx () |
| BOOL | GetColor (GColor &out_color, float k, float alpha) |
| 获得颜色表中位置(k)的映射颜色 | |
| float | GetParams (int pos) const |
Protected 属性 | |
| VecFloat2 | m_pt1 |
| VecFloat2 | m_pt2 |
| Protected 属性 继承自 BUI::GBrushGradient | |
| GradientColors * | m_stop_colors |
| TransformGradient | m_mtx |
| float | m_params [6] |
线性渐变画刷
| BUI::GBrushGradientLinear::GBrushGradientLinear | ( | ) |
| BUI::GBrushGradientLinear::GBrushGradientLinear | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2 ) |
| BUI::GBrushGradientLinear::~GBrushGradientLinear | ( | ) |
实现了 BUI::GBrushGradient.
|
overridevirtual |
重载 BUI::GBrushGradient .
|
overridevirtual |
实现了 BUI::GBrushGradient.
| void BUI::GBrushGradientLinear::ShellGradientAttribute | ( | const BeString & | str_name, |
| const BeString & | str_value ) |
|
protected |
|
protected |