CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
图形相关资源存储类 更多...
Public 成员函数 | |
CResourceGraphics () | |
~CResourceGraphics () | |
GImage * | LoadSGImageFromBuffer (const BeString &keyid, unsigned char *buffer, UINT dwSize) |
添加GImage资源 | |
GImage * | GetSGImage (const BeString &keyid) |
GImageGIF * | LoadSGImageGIFFromBuffer (const BeString &keyid, unsigned char *buffer, UINT dwSize) |
添加GImageGIF | |
GImageGIF * | GetSGImageGIF (const BeString &keyid) |
GPathStorageSVG * | LoadSVGFromBuffer (const BeString &keyid, const char *buffer, UINT dwSize) |
添加GPathStorageSVG资源 | |
GPathStorageSVG * | GetSVGImage (const BeString &keyid) |
void | AddColors (const BeString &keyid, std::map< BeString, COLORREF > &colors) |
添加Colors资源 | |
void | GetColors (const BeString &keyid, COLORSTYLE &outColors) |
void | AddGradientColors (const BeString &keyid, GradientColors *gra_colors) |
添加Gradient Colors资源 | |
GradientColors * | GetGradientColors (const BeString &keyid) |
void | AddGradientBrush (const BeString &keyid, GBrushGradient *linear) |
添加Gradient brush资源 | |
GBrushGradient * | GetGradientBrush (const BeString &keyid) |
void | AddSGImageIconInfo (const BeString &keyid, GImageIconInfo *icon) |
添加Gradient brush资源 | |
GImageIconInfo * | GetSGImageIconInfo (const BeString &keyid) |
DataBuffer | GetZipArchiveFileData (const char *zipfile, const char *archiveName) |
zip resource | |
void | AddCandlesStyle (const BeString &keyid, std::shared_ptr< CandlesStyle > style) |
添加蜡烛图风格资源 | |
std::shared_ptr< CandlesStyle > | GetCandlesStyle (const BeString &keyid) |
void | AddBoxPlotStyle (const BeString &keyid, std::shared_ptr< BoxPlotStyle > style) |
添加盒子图风格资源 | |
std::shared_ptr< BoxPlotStyle > | GetBoxPlotStyle (const BeString &keyid) |
LPCTSTR | ResourceCurrentDir () |
获得当前资源解析的执行目录 | |
void | SetResourceCurrentDir (LPCTSTR dir) |
void | AddStyleSheet (const BeString &keyid, const std::vector< BeStringPair > &styleList) |
添加风格样式文件资源 | |
BOOL | GetStyleSheet (const BeString &keyid, std::vector< BeStringPair > &outStyleList) |
图形相关资源存储类
BUI::CResourceGraphics::CResourceGraphics | ( | ) |
BUI::CResourceGraphics::~CResourceGraphics | ( | ) |
void BUI::CResourceGraphics::AddBoxPlotStyle | ( | const BeString & | keyid, |
std::shared_ptr< BoxPlotStyle > | style | ||
) |
添加盒子图风格资源
void BUI::CResourceGraphics::AddCandlesStyle | ( | const BeString & | keyid, |
std::shared_ptr< CandlesStyle > | style | ||
) |
添加蜡烛图风格资源
void BUI::CResourceGraphics::AddColors | ( | const BeString & | keyid, |
std::map< BeString, COLORREF > & | colors | ||
) |
添加Colors资源
void BUI::CResourceGraphics::AddGradientBrush | ( | const BeString & | keyid, |
GBrushGradient * | linear | ||
) |
添加Gradient brush资源
void BUI::CResourceGraphics::AddGradientColors | ( | const BeString & | keyid, |
GradientColors * | gra_colors | ||
) |
添加Gradient Colors资源
void BUI::CResourceGraphics::AddSGImageIconInfo | ( | const BeString & | keyid, |
GImageIconInfo * | icon | ||
) |
添加Gradient brush资源
void BUI::CResourceGraphics::AddStyleSheet | ( | const BeString & | keyid, |
const std::vector< BeStringPair > & | styleList | ||
) |
添加风格样式文件资源
std::shared_ptr< BoxPlotStyle > BUI::CResourceGraphics::GetBoxPlotStyle | ( | const BeString & | keyid | ) |
std::shared_ptr< CandlesStyle > BUI::CResourceGraphics::GetCandlesStyle | ( | const BeString & | keyid | ) |
void BUI::CResourceGraphics::GetColors | ( | const BeString & | keyid, |
COLORSTYLE & | outColors | ||
) |
GBrushGradient * BUI::CResourceGraphics::GetGradientBrush | ( | const BeString & | keyid | ) |
GradientColors * BUI::CResourceGraphics::GetGradientColors | ( | const BeString & | keyid | ) |
GImageIconInfo * BUI::CResourceGraphics::GetSGImageIconInfo | ( | const BeString & | keyid | ) |
BOOL BUI::CResourceGraphics::GetStyleSheet | ( | const BeString & | keyid, |
std::vector< BeStringPair > & | outStyleList | ||
) |
GPathStorageSVG * BUI::CResourceGraphics::GetSVGImage | ( | const BeString & | keyid | ) |
DataBuffer BUI::CResourceGraphics::GetZipArchiveFileData | ( | const char * | zipfile, |
const char * | archiveName | ||
) |
zip resource
GImage * BUI::CResourceGraphics::LoadSGImageFromBuffer | ( | const BeString & | keyid, |
unsigned char * | buffer, | ||
UINT | dwSize | ||
) |
添加GImage资源
GImageGIF * BUI::CResourceGraphics::LoadSGImageGIFFromBuffer | ( | const BeString & | keyid, |
unsigned char * | buffer, | ||
UINT | dwSize | ||
) |
添加GImageGIF
GPathStorageSVG * BUI::CResourceGraphics::LoadSVGFromBuffer | ( | const BeString & | keyid, |
const char * | buffer, | ||
UINT | dwSize | ||
) |
添加GPathStorageSVG资源
LPCTSTR BUI::CResourceGraphics::ResourceCurrentDir | ( | ) |
获得当前资源解析的执行目录
void BUI::CResourceGraphics::SetResourceCurrentDir | ( | LPCTSTR | dir | ) |