TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::CirclePrimitive Struct Reference

A circle outline: the ring lineWidth wide around center at radius, its color and dashes running clockwise from the right (+x towards +y), as LineStyle sets them. More...

#include <gui_core/graphics/gui_render_primitives.h>

Public Attributes

glsl_float4 transform0 = { 1, 0, 0 }
glsl_float4 transform1 = { 0, 1, 0 }
tachyon::int2 clipMin = { 0,0 }
tachyon::int2 clipMax = { 0,0 }
tachyon::float2 center = { 0,0 }
float radius = 0
float lineWidth = 0
int colorIndex = 0
float dashSize = 0
float dashOffset = 0
float gradientOffset = 0
float gradientScale = 1

Detailed Description

A circle outline: the ring lineWidth wide around center at radius, its color and dashes running clockwise from the right (+x towards +y), as LineStyle sets them.

Member Data Documentation

◆ transform0

glsl_float4 tachyon::CirclePrimitive::transform0 = { 1, 0, 0 }

◆ transform1

glsl_float4 tachyon::CirclePrimitive::transform1 = { 0, 1, 0 }

◆ clipMin

tachyon::int2 tachyon::CirclePrimitive::clipMin = { 0,0 }

◆ clipMax

tachyon::int2 tachyon::CirclePrimitive::clipMax = { 0,0 }

◆ center

tachyon::float2 tachyon::CirclePrimitive::center = { 0,0 }

◆ radius

float tachyon::CirclePrimitive::radius = 0

◆ lineWidth

float tachyon::CirclePrimitive::lineWidth = 0

◆ colorIndex

int tachyon::CirclePrimitive::colorIndex = 0

◆ dashSize

float tachyon::CirclePrimitive::dashSize = 0

◆ dashOffset

float tachyon::CirclePrimitive::dashOffset = 0

◆ gradientOffset

float tachyon::CirclePrimitive::gradientOffset = 0

◆ gradientScale

float tachyon::CirclePrimitive::gradientScale = 1

The documentation for this struct was generated from the following file: