OpenShot Library | libopenshot
0.2.2
|
Go to the documentation of this file.
28 #ifndef OPENSHOT_POINT_H
29 #define OPENSHOT_POINT_H
96 Point(
float x,
float y);
112 void Initialize_Handles();
115 void Initialize_LeftHandle(
float x,
float y);
118 void Initialize_RightHandle(
float x,
float y);
122 Json::Value JsonValue();
123 void SetJson(
string value);
124 void SetJsonValue(Json::Value root);
InterpolationType interpolation
This is the interpolation mode.
This namespace is the default namespace for all code in the openshot library.
Coordinate co
This is the primary coordinate.
HandleType handle_type
This is the handle mode.
HandleType
When BEZIER interpolation is used, the point's left and right handles are used to influence the direc...
Header file for Coordinate class.
Automatically adjust the handles to achieve the smoothest curve.
Linear curves are angular, straight lines between two points.
Coordinate handle_left
This is the left handle coordinate (in percentages from 0 to 1)
Constant curves jump from their previous position to a new one (with no interpolation).
InterpolationType
This controls how a Keyframe uses this point to interpolate between two points.
Coordinate handle_right
This is the right handle coordinate (in percentages from 0 to 1)
Bezier curves are quadratic curves, which create a smooth curve.
Header file for JSON class.
Do not automatically adjust handles (set them manually)
This class represents a Cartesian coordinate (X, Y) used in the Keyframe animation system.
A Point is the basic building block of a key-frame curve.
Header file for all Exception classes.