载入中...
搜索中...
未找到
eve::graphics::DashPattern结构体 参考

Owning alternating draw/gap pattern for stroked primitives. 更多...

#include <PrimitiveTypes.h>

Public 成员函数

void validate () const
 Validates finite positive intervals and an even interval count.
 
float period () const
 Returns the sum of all draw and gap intervals.
 

Public 属性

std::vector< float > intervals
 
float phase = 0.f
 
DashSpace space = DashSpace::ScreenPixels
 

详细描述

Owning alternating draw/gap pattern for stroked primitives.

在文件 PrimitiveTypes.h 第 48 行定义.

成员函数说明

◆ period()

float eve::graphics::DashPattern::period ( ) const

Returns the sum of all draw and gap intervals.

在文件 PrimitiveTypes.cpp 第 46 行定义.

引用了 intervals , 以及 validate().

◆ validate()

void eve::graphics::DashPattern::validate ( ) const

Validates finite positive intervals and an even interval count.

在文件 PrimitiveTypes.cpp 第 36 行定义.

引用了 EV_PARAM_CHECK, intervals , 以及 phase.

被这些函数引用 period().

类成员变量说明

◆ intervals

std::vector<float> eve::graphics::DashPattern::intervals

在文件 PrimitiveTypes.h 第 49 行定义.

被这些函数引用 eve::graphics::exposePrimitiveScriptBindings(), period() , 以及 validate().

◆ phase

float eve::graphics::DashPattern::phase = 0.f

在文件 PrimitiveTypes.h 第 50 行定义.

被这些函数引用 eve::graphics::exposePrimitiveScriptBindings() , 以及 validate().

◆ space

DashSpace eve::graphics::DashPattern::space = DashSpace::ScreenPixels

在文件 PrimitiveTypes.h 第 51 行定义.

被这些函数引用 eve::graphics::exposePrimitiveScriptBindings().


该结构体的文档由以下文件生成: