[ Version ( since = "1.4" ) ]
public unowned Value? compute (double factor)
Computes the value between the this boundaries given the progress factor
Unlike compute_value, this function will return a const pointer to the computed value
You should use this function if you immediately pass the computed value to another function that makes a copy of it, like set_property
this |
a Interval |
factor |
the progress factor, between 0 and 1 |
a pointer to the computed value, or |