xcal
基于 C++23 的现代图形渲染引擎
|
#include <path.hpp>
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::PositionList & | points () const |
void | set_points (const property::PositionList::data_t &points) |
~Path () override=default | |
Path (const Path &)=delete | |
Path (Path &&)=delete | |
Path & | operator= (const Path &)=delete |
Path & | operator= (Path &&)=delete |
![]() | |
ComposedMObject () | |
![]() | |
AbsMObject ()=default | |
默认构造函数 | |
bool | visible () const |
获取对象可见性状态(只读) | |
bool & | visible () |
获取对象可见性状态(可修改) | |
Type | type () const |
std::vector< property::MProperty * > & | properties () |
获取对象属性列表 | |
virtual | ~AbsMObject ()=default |
虚析构函数 | |
额外继承的成员函数 | |
![]() | |
template<class... Arg> requires (std::is_base_of_v<property::MProperty, Arg> && ...) | |
void | register_properties (Arg &... arg) |
注册属性到对象 | |
using xcal::mobject::Path::data_t = std::vector<vec> |
using xcal::mobject::Path::vec = xcmath::vec2<float_t> |
|
inlineexplicit |
|
inline |
|
overridedefault |
|
delete |
|
delete |
|
inline |
|
inline |