CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
中心放射渐变画刷 更多...
Public 成员函数 | |
GBrushGradientRadial () | |
GBrushGradientRadial (float x, float y, float r, float fx, float fy, float angle=0) | |
~GBrushGradientRadial () | |
void | SetRotateAngle (float angle) |
void | SetPosition (const VecFloat2 &ptcenter, float r, float fx, float fy) |
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_ptcenter |
float | m_r |
float | m_fx |
float | m_fy |
float | m_angle |
![]() | |
GradientColors * | m_stopcolors |
TransformGradient | m_mtx |
float | m_params [6] |
中心放射渐变画刷
BUI::GBrushGradientRadial::GBrushGradientRadial | ( | ) |
BUI::GBrushGradientRadial::GBrushGradientRadial | ( | float | x, |
float | y, | ||
float | r, | ||
float | fx, | ||
float | fy, | ||
float | angle = 0 |
||
) |
BUI::GBrushGradientRadial::~GBrushGradientRadial | ( | ) |
|
overridevirtual |
实现了 BUI::GBrushGradient.
|
overridevirtual |
重载 BUI::GBrushGradient .
|
overridevirtual |
实现了 BUI::GBrushGradient.
void BUI::GBrushGradientRadial::SetPosition | ( | const VecFloat2 & | ptcenter, |
float | r, | ||
float | fx, | ||
float | fy | ||
) |
void BUI::GBrushGradientRadial::SetRotateAngle | ( | float | angle | ) |
void BUI::GBrushGradientRadial::ShellGradientAttribute | ( | const BeString & | szName, |
const BeString & | szText | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |