Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
Curve.h File Reference
#include <PhosphorAnimation/AnimationLimits.h>
#include <PhosphorAnimation/phosphoranimation_export.h>
#include <QString>
#include <QtGlobal>
#include <memory>

Go to the source code of this file.

Classes

struct  PhosphorAnimation::CurveState
 Mutable state for stateful curve progression (springs carry position+velocity across frames; stateless curves share the struct for uniform caller treatment). More...
 
class  PhosphorAnimation::Curve
 Polymorphic base for all animation curves. More...
 

Namespaces

namespace  PhosphorAnimation
 

Functions

qreal PhosphorAnimation::boundCurveProgress (qreal progress)
 Bound a curve's output to the overshoot envelope [Limits::MinCurveProgress, Limits::MaxCurveProgress].