CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
圆周渐变画刷 更多...
Public 成员函数 | |
GBrushGradientConic () | |
GBrushGradientConic (float x, float y, float angle=0) | |
~GBrushGradientConic () | |
void | SetRotateAngle (float angle) |
void | SetPosition (const VecFloat2 &ptcenter) |
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::GBrushGradientConic::GBrushGradientConic | ( | ) |
BUI::GBrushGradientConic::GBrushGradientConic | ( | float | x, |
float | y, | ||
float | angle = 0 |
||
) |
BUI::GBrushGradientConic::~GBrushGradientConic | ( | ) |
|
overridevirtual |
实现了 BUI::GBrushGradient.
|
overridevirtual |
重载 BUI::GBrushGradient .
|
overridevirtual |
实现了 BUI::GBrushGradient.
void BUI::GBrushGradientConic::SetPosition | ( | const VecFloat2 & | ptcenter | ) |
void BUI::GBrushGradientConic::SetRotateAngle | ( | float | angle | ) |
void BUI::GBrushGradientConic::ShellGradientAttribute | ( | const BeString & | szName, |
const BeString & | szText | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |