Method

AdwSpringAnimationcalculate_velocity

since: 1.3

Declaration [src]

double
adw_spring_animation_calculate_velocity (
  AdwSpringAnimation* self,
  guint time
)

Description [src]

Calculates the velocity self will have at time.

The time starts at 0 and ends at AdwSpringAnimation:estimated-duration.

See also adw_spring_animation_calculate_value().

Available since: 1.3

Parameters

time

Type: guint

Elapsed time, in milliseconds.

Return value

Type: double

The velocity at time.