CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
自定义位置线性颜色表 更多...
Public 成员函数 | |
GradientStopsColors () | |
virtual | ~GradientStopsColors () |
void | AddColor (double offset, const GColor &color) |
void | SetProfilePoint (std::map< double, GColor > &points) |
void | SetRangeOfKey (double fmin, double fmax) |
void | ClearProfilePoint () |
BOOL | IsColorEmpty () const |
int | ProfilePointSize () const |
void | BuildLutColorBuffer () |
void | SetColorsSize (int size) override |
unsigned | Size () const override |
GColor | operator[] (unsigned i) override |
GColor | GetColor (double k) override |
根据百分比获得颜色值 | |
![]() | |
GradientColors () | |
virtual | ~GradientColors () |
virtual void | SetColorsSize (int size)=0 |
virtual unsigned | Size () const =0 |
virtual GColor | operator[] (unsigned i)=0 |
virtual GColor | GetColor (double k)=0 |
根据百分比获得颜色值 | |
额外继承的成员函数 | |
![]() | |
double | m_alpha |
自定义位置线性颜色表
BUI::GradientStopsColors::GradientStopsColors | ( | ) |
|
virtual |
void BUI::GradientStopsColors::AddColor | ( | double | offset, |
const GColor & | color | ||
) |
void BUI::GradientStopsColors::BuildLutColorBuffer | ( | ) |
void BUI::GradientStopsColors::ClearProfilePoint | ( | ) |
|
overridevirtual |
BOOL BUI::GradientStopsColors::IsColorEmpty | ( | ) | const |
|
overridevirtual |
实现了 BUI::GradientColors.
int BUI::GradientStopsColors::ProfilePointSize | ( | ) | const |
|
overridevirtual |
实现了 BUI::GradientColors.
void BUI::GradientStopsColors::SetProfilePoint | ( | std::map< double, GColor > & | points | ) |
void BUI::GradientStopsColors::SetRangeOfKey | ( | double | fmin, |
double | fmax | ||
) |
|
overridevirtual |
实现了 BUI::GradientColors.