TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::Circle 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::Circle::transform0 = { 1, 0, 0 }

◆ transform1

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

◆ clipMin

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

◆ clipMax

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

◆ center

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

◆ radius

float tachyon::Circle::radius = 0

◆ lineWidth

float tachyon::Circle::lineWidth = 0

◆ colorIndex

int tachyon::Circle::colorIndex = 0

◆ dashSize

float tachyon::Circle::dashSize = 0

◆ dashOffset

float tachyon::Circle::dashOffset = 0

◆ gradientOffset

float tachyon::Circle::gradientOffset = 0

◆ gradientScale

float tachyon::Circle::gradientScale = 1

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