CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
BUI::CChartElePathText类 参考

文本路径图形 更多...

+ 类 BUI::CChartElePathText 继承关系图:

Public 成员函数

 CChartElePathText ()
 
virtual ~CChartElePathText ()
 
void DoPaintElement (ISurface *pSurface, const GColor &color, const RECT &rcDiagram, RECT *rcUpdate) override
 
void ShellElementAttribute (const BeString &szName, const BeString &szText, ICoordList *crdlist=NULL) override
 命令控制和属性设置接口
 
void OnParseElementData (XMLItem *pNode, CControlUI *parent) override
 
- Public 成员函数 继承自 BUI::CChartElement
 CChartElement ()
 
virtual ~CChartElement ()
 
CChartDataLabelGetDataLabelInfo () const
 
void SetDataLabelInfo (CChartDataLabel *labelStyle)
 
BOOL IsDrawDataLabel () const
 
void DrawDataLabel (ISurface *pSurface, int x, int y, LPCTSTR str, const RECT &rcDiagram, RECT *rcUpdate)
 
virtual void DoPaintElement (ISurface *pSurface, const GColor &color, const RECT &rcDiagram, RECT *rcUpdate)
 
virtual VecFloat2 GetPoint ()
 
virtual VecFloat2 GetLogicPoint (int field=0)
 
virtual BOOL IsViewportArea ()
 
virtual BOOL IsVaild ()
 
virtual BOOL GetAxisXPoint (VecFloat2 &pt)
 
virtual BOOL OnNotifyMessage (IEventHandler *notify, UINT message, WPARAM wp, LPARAM lp)
 
virtual void ShellElementAttribute (const BeString &szName, const BeString &szText, ICoordList *crdlist=NULL)
 命令控制和属性设置接口
 
virtual void OnParseElementData (XMLItem *pNode, CControlUI *parent)
 
virtual void OnTranslateLanguage ()
 
- Public 成员函数 继承自 BUI::CNodeCell
 CNodeCell ()
 
 CNodeCell (std::shared_ptr< CNodeData > valuedata)
 
virtual ~CNodeCell ()
 
void BindAction (std::shared_ptr< IActionNotify > action)
 
std::shared_ptr< IActionNotifyActionOfNode () const
 
void DoNodeAction () const
 
void SetBackNodeData (std::shared_ptr< CNodeData > valuedata)
 
void SetSyntaxAst (LPCTSTR str_script)
 
void SetName (BeString id)
 
BeStringName ()
 
void OnDrawNodeCell (ISurface *pSurface, int paintState, RECT rcCell, COLORREF textColor, UINT textAlignFlag, PathTransInfo *clipborderpath=NULL)
 
void SetNodeData (std::shared_ptr< CNodeData > valuedata)
 
void AddNodeData (std::shared_ptr< CNodeData > valuedata, int w=0, int h=0, SizeMode stw=AdaptFill, SizeMode sth=AdaptFill)
 
void InsertNodeData (int pos, std::shared_ptr< CNodeData > valuedata, int w=0, int h=0, SizeMode stw=AdaptFill, SizeMode sth=AdaptFill)
 
void SetNotifyHandler (IEventHandler *notify)
 
BOOL NotifyMsg (UINT message, WPARAM wp, LPARAM lp)
 
void NeedUpdateUI ()
 
void NeedUpdateHostUI ()
 
void ShellNodeCellAttribute (const BeString &szName, const BeString &szText)
 
ItemState & GetNodeState ()
 
void Clear ()
 
BOOL PtInCell (POINT pt)
 
void SetRect (int x, int y, int w, int h)
 
RECT CellRect () const
 
std::shared_ptr< CNodeData > & GetNodeData ()
 

Protected 属性

GFontm_font
 
BeString m_text
 
GPathStorage m_path_text
 
GPathStorage m_path_line
 
PathTransformm_trans
 
TransAlongSinglePath m_textEffect
 
UINT m_showBitmap
 
GColor m_bkColor
 
GBrushGradientm_bkGradientBru
 
GColor m_borderColor
 
GBrushGradientm_borderGradientBru
 
LineStyle m_borderStyle
 
int m_borderSize
 
- Protected 属性 继承自 BUI::CChartElement
CChartDataLabelm_datalabel
 

额外继承的成员函数

- Public 属性 继承自 BUI::CNodeCell
RECT m_rcCell
 
ItemState m_state
 
BeString m_nameid
 
IEventHandlerm_notifyHandler
 
std::shared_ptr< CNodeDatam_backdata
 
std::shared_ptr< CNodeDatam_rawdata
 
std::shared_ptr< IActionNotifym_action
 
syntax_infom_cmd_ast
 

详细描述

文本路径图形

构造及析构函数说明

◆ CChartElePathText()

BUI::CChartElePathText::CChartElePathText ( )

◆ ~CChartElePathText()

virtual BUI::CChartElePathText::~CChartElePathText ( )
virtual

成员函数说明

◆ DoPaintElement()

void BUI::CChartElePathText::DoPaintElement ( ISurface pSurface,
const GColor color,
const RECT rcDiagram,
RECT rcUpdate 
)
overridevirtual

◆ OnParseElementData()

void BUI::CChartElePathText::OnParseElementData ( XMLItem pNode,
CControlUI parent 
)
overridevirtual

◆ ShellElementAttribute()

void BUI::CChartElePathText::ShellElementAttribute ( const BeString szName,
const BeString szText,
ICoordList crdlist = NULL 
)
overridevirtual

命令控制和属性设置接口

szName属性 szText语法格式
Coord
设置坐标系
Coord="坐标系名称"
convtype
变换方式
bspline :贝塞尔样条
curve-inc : 二阶曲线 内存友好型
curve-div : 二阶曲线
none 无变换
back-show
绘制背景
true / false
border-show
绘制边框
true / false
border-size
边框大小
border-size="2"
border-line-type
边框线条风格
solid, dot, dash, dash-dot, dash-dot-dot
back-gradient
背景渐变画刷
back-gradient="资源标识符"
border-gradient
边框渐变画刷
border-gradient="资源标识符"
back-color
背景实色颜色
back-color="0x124578"
border-color
边框实色颜色
border-color="0x124578"
series
将已有的图形序列,提取其路径
series="序列名称"
font
字体
font="资源唯一标识符"
text
文本
text="艺术字"

重载 BUI::CChartElement .

类成员变量说明

◆ m_bkColor

GColor BUI::CChartElePathText::m_bkColor
protected

◆ m_bkGradientBru

GBrushGradient* BUI::CChartElePathText::m_bkGradientBru
protected

◆ m_borderColor

GColor BUI::CChartElePathText::m_borderColor
protected

◆ m_borderGradientBru

GBrushGradient* BUI::CChartElePathText::m_borderGradientBru
protected

◆ m_borderSize

int BUI::CChartElePathText::m_borderSize
protected

◆ m_borderStyle

LineStyle BUI::CChartElePathText::m_borderStyle
protected

◆ m_font

GFont* BUI::CChartElePathText::m_font
protected

◆ m_path_line

GPathStorage BUI::CChartElePathText::m_path_line
protected

◆ m_path_text

GPathStorage BUI::CChartElePathText::m_path_text
protected

◆ m_showBitmap

UINT BUI::CChartElePathText::m_showBitmap
protected

◆ m_text

BeString BUI::CChartElePathText::m_text
protected

◆ m_textEffect

TransAlongSinglePath BUI::CChartElePathText::m_textEffect
protected

◆ m_trans

PathTransform* BUI::CChartElePathText::m_trans
protected
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2025 · CBlueStudio 版权所有