Module i_slint_core::animations

source ·
Expand description

The animation system

Structs§

  • The AnimationDriver
  • Represent an instant, in milliseconds since the AnimationDriver’s initial_instant

Enums§

  • The representation of an easing curve, for animations

Constants§

  • This is the default instance of the animation driver that’s used to advance all property animations at the same time.

Functions§

  • Same as current_tick, but also register that one should be running animation on next frame
  • The current instant that is to be used for animation using this function register the current binding as a dependency
  • map a value between 0 and 1 to another value between 0 and 1 according to the curve
  • Update the global animation time to the current time