xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | 所有成员列表
xcal::mobject::Path类 参考

#include <path.hpp>

类 xcal::mobject::Path 继承关系图:
[图例]
xcal::mobject::Path 的协作图:
[图例]

Public 类型

using vec = xcmath::vec2< float_t >
 
using data_t = std::vector< vec >
 

Public 成员函数

 Path ()
 
 Path (const property::PositionList::data_t &list)
 
 Path (const property::PositionList::data_t &list, bool_t closed)
 
const property::PositionListpoints () const
 
void set_points (const property::PositionList::data_t &points)
 
 ~Path () override=default
 
 Path (const Path &)=delete
 
 Path (Path &&)=delete
 
Pathoperator= (const Path &)=delete
 
Pathoperator= (Path &&)=delete
 
- Public 成员函数 继承自 xcal::mobject::ComposedMObject< Path, BaseTransformableMobject, StrokeableMObject, FillableMObject >
 ComposedMObject ()
 
- Public 成员函数 继承自 xcal::mobject::AbsMObject
 AbsMObject ()=default
 默认构造函数
 
bool visible () const
 获取对象可见性状态(只读)
 
bool & visible ()
 获取对象可见性状态(可修改)
 
Type type () const
 
std::vector< property::MProperty * > & properties ()
 获取对象属性列表
 
virtual ~AbsMObject ()=default
 虚析构函数
 

额外继承的成员函数

- Protected 成员函数 继承自 xcal::mobject::AbsMObject
template<class... Arg>
requires (std::is_base_of_v<property::MProperty, Arg> && ...)
void register_properties (Arg &... arg)
 注册属性到对象
 

详细描述

在文件 path.hpp10 行定义.

成员类型定义说明

◆ data_t

using xcal::mobject::Path::data_t = std::vector<vec>

在文件 path.hpp16 行定义.

◆ vec

在文件 path.hpp15 行定义.

构造及析构函数说明

◆ Path() [1/5]

xcal::mobject::Path::Path ( )
inline

在文件 path.hpp22 行定义.

◆ Path() [2/5]

xcal::mobject::Path::Path ( const property::PositionList::data_t list)
inlineexplicit

在文件 path.hpp23 行定义.

◆ Path() [3/5]

xcal::mobject::Path::Path ( const property::PositionList::data_t list,
bool_t  closed 
)
inline

在文件 path.hpp25 行定义.

◆ ~Path()

xcal::mobject::Path::~Path ( )
overridedefault

◆ Path() [4/5]

xcal::mobject::Path::Path ( const Path )
delete

◆ Path() [5/5]

xcal::mobject::Path::Path ( Path &&  )
delete

成员函数说明

◆ operator=() [1/2]

Path & xcal::mobject::Path::operator= ( const Path )
delete

◆ operator=() [2/2]

Path & xcal::mobject::Path::operator= ( Path &&  )
delete

◆ points()

const property::PositionList & xcal::mobject::Path::points ( ) const
inline

在文件 path.hpp28 行定义.

◆ set_points()

void xcal::mobject::Path::set_points ( const property::PositionList::data_t points)
inline

在文件 path.hpp29 行定义.


该类的文档由以下文件生成: