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