TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_easing.h File Reference

Go to the source code of this file.

Classes

struct  tachyon::CubicBezier
 A CSS cubic-bezier(x1, y1, x2, y2) timing curve: maps the share of a transition's time that has passed (0..1) to how far its value has gone (0..1). More...

Namespaces

namespace  tachyon
namespace  tachyon::Easing

Variables

constexpr CubicBezier tachyon::Easing::Linear { 0.0f, 0.0f, 1.0f, 1.0f }
constexpr CubicBezier tachyon::Easing::EaseOut { 0.2f, 0.0f, 0.0f, 1.0f }
 fast start, long settle
constexpr CubicBezier tachyon::Easing::EaseInOut { 0.4f, 0.0f, 0.2f, 1.0f }
 slow at both ends