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

SVG 图形基础类 更多...

类 BUI::GSvgShape 继承关系图:

Public 成员函数

 GSvgShape ()
virtual ~GSvgShape ()
void AddStyle (const std::shared_ptr< GSvgShapeStyle > &style)
void OnParserAnimTrans (XMLItemA *node)
void OnDraw (GSvgRenderer &ren, Transform2d m, RECT rc_box, float alpha, float time) override
 渲染-虚函数接口
bool IsHasAnimate () override
 是否包含动画属性
virtual void OnDrawShape (GSvgRenderer &ren, Transform2d m, RECT rc_box, float alpha, float time)
virtual void GetPath (GPathStorage &path, Transform2d m, float time)
Public 成员函数 继承自 BUI::GSvgBase
 GSvgBase ()
virtual ~GSvgBase ()
void InsertChild (GSvgBase *current, GSvgBase *prev)
 插入新的节点
bool RemoveChild (GSvgBase *child)
 删除子节点
virtual void OnParser (XMLItemA *node)
 从xml节点,解析结构接口

Public 属性

Transform2d m_matrix
Transform2d m_matrix_animate
GPathStorage m_path
std::shared_ptr< GSvgShapem_clip_node
std::shared_ptr< GSvgShapeStylem_styles
std::vector< std::shared_ptr< GAnimateTransform > > m_anim_transforms
Public 属性 继承自 BUI::GSvgBase
BeStringA m_key_name
BeStringA m_textid
BeStringA m_title
GSvgBasem_parent
GSvgBasem_first_child
GSvgBasem_last_child
GSvgBasem_next_sibling
GSvgBasem_prev_sibling
BOOL m_is_no_render

详细描述

SVG 图形基础类

构造及析构函数说明

◆ GSvgShape()

BUI::GSvgShape::GSvgShape ( )

◆ ~GSvgShape()

virtual BUI::GSvgShape::~GSvgShape ( )
virtual

成员函数说明

◆ AddStyle()

void BUI::GSvgShape::AddStyle ( const std::shared_ptr< GSvgShapeStyle > & style)

◆ GetPath()

virtual void BUI::GSvgShape::GetPath ( GPathStorage & path,
Transform2d m,
float time )
virtual

◆ IsHasAnimate()

bool BUI::GSvgShape::IsHasAnimate ( )
overridevirtual

◆ OnDraw()

void BUI::GSvgShape::OnDraw ( GSvgRenderer & ren,
Transform2d m,
RECT rc_box,
float alpha,
float time )
overridevirtual

渲染-虚函数接口

参数
ren:渲染器
m: 变换矩阵
rc_box矩形区域
alpha透明度
time动画时间

重载 BUI::GSvgBase .

◆ OnDrawShape()

virtual void BUI::GSvgShape::OnDrawShape ( GSvgRenderer & ren,
Transform2d m,
RECT rc_box,
float alpha,
float time )
virtual

◆ OnParserAnimTrans()

void BUI::GSvgShape::OnParserAnimTrans ( XMLItemA * node)

类成员变量说明

◆ m_anim_transforms

std::vector<std::shared_ptr<GAnimateTransform> > BUI::GSvgShape::m_anim_transforms

◆ m_clip_node

std::shared_ptr<GSvgShape> BUI::GSvgShape::m_clip_node

◆ m_matrix

Transform2d BUI::GSvgShape::m_matrix

◆ m_matrix_animate

Transform2d BUI::GSvgShape::m_matrix_animate

◆ m_path

GPathStorage BUI::GSvgShape::m_path

◆ m_styles

std::shared_ptr<GSvgShapeStyle> BUI::GSvgShape::m_styles
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2026 · CBlueStudio 版权所有