OpenShot Library | libopenshot
0.2.2
|
Go to the documentation of this file.
28 #ifndef OPENSHOT_COORDINATE_H
29 #define OPENSHOT_COORDINATE_H
81 void IsIncreasing(
bool is_increasing) { increasing = is_increasing; }
88 void Delta(
double new_delta) { delta=new_delta; }
95 Json::Value JsonValue();
96 void SetJson(
string value);
97 void SetJsonValue(Json::Value root);
void Repeat(Fraction is_repeated)
Set the repeating Fraction (used internally on the timeline, to track changes to coordinates)
bool IsIncreasing()
Get the increasing flag (used internally on the timeline, to track changes to coordinates)
double Y
The Y value of the coordinate (usually representing the value of the property being animated)
Header file for Fraction class.
This namespace is the default namespace for all code in the openshot library.
This class represents a fraction.
void Delta(double new_delta)
Set the delta / difference between previous coordinate value (used internally on the timeline,...
float Delta()
Get the delta / difference between previous coordinate value (used internally on the timeline,...
Fraction Repeat()
Get the repeating Fraction (used internally on the timeline, to track changes to coordinates)
void IsIncreasing(bool is_increasing)
Set the increasing flag (used internally on the timeline, to track changes to coordinates)
Header file for JSON class.
This class represents a Cartesian coordinate (X, Y) used in the Keyframe animation system.
double X
The X value of the coordinate (usually representing the frame #)
Header file for all Exception classes.