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

A transition's arrow, in node.pos space, between the states as last laid out. More...

#include <gui_controls/gui_node_view_helpers.h>

Public Attributes

int2 from {}
int2 to {}
 where it leaves its state's edge and where its head touches the other's
bool loop = false
 a state to itself: a curve over its top, shaped by c1 and c2 (as RenderLine draws four points)
int2 c1 {}
int2 c2 {}
int2 labelAt {}
 half way along it (a loop's top)
bool valid = false
 false: a state is missing, or not laid out yet

Detailed Description

A transition's arrow, in node.pos space, between the states as last laid out.

Member Data Documentation

◆ from

int2 tachyon::TransitionPath::from {}

◆ to

int2 tachyon::TransitionPath::to {}

where it leaves its state's edge and where its head touches the other's

◆ loop

bool tachyon::TransitionPath::loop = false

a state to itself: a curve over its top, shaped by c1 and c2 (as RenderLine draws four points)

◆ c1

int2 tachyon::TransitionPath::c1 {}

◆ c2

int2 tachyon::TransitionPath::c2 {}

◆ labelAt

int2 tachyon::TransitionPath::labelAt {}

half way along it (a loop's top)

◆ valid

bool tachyon::TransitionPath::valid = false

false: a state is missing, or not laid out yet


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