You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
@@ -98,7 +98,7 @@ namespace openshot {
|
||||
/// Default constructor for the Keyframe class
|
||||
Keyframe();
|
||||
|
||||
/// Constructor which sets the default point & coordinate at X=0
|
||||
/// Constructor which sets the default point & coordinate at X=1
|
||||
Keyframe(double value);
|
||||
|
||||
/// Add a new point on the key-frame. Each point has a primary coordinate, a left handle, and a right handle.
|
||||
|
||||
@@ -55,7 +55,7 @@ void Keyframe::ReorderPoints() {
|
||||
}
|
||||
}
|
||||
|
||||
// Constructor which sets the default point & coordinate at X=0
|
||||
// Constructor which sets the default point & coordinate at X=1
|
||||
Keyframe::Keyframe(double value) : needs_update(true) {
|
||||
// Init the factorial table, needed by bezier curves
|
||||
CreateFactorialTable();
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
using namespace std;
|
||||
using namespace openshot;
|
||||
|
||||
// Default constructor (defaults to 0,0)
|
||||
// Default constructor (defaults to 1,0)
|
||||
Point::Point() : interpolation(BEZIER), handle_type(AUTO)
|
||||
{
|
||||
// set new coorinate
|
||||
@@ -43,7 +43,7 @@ Point::Point() : interpolation(BEZIER), handle_type(AUTO)
|
||||
Initialize_Handles();
|
||||
}
|
||||
|
||||
// Constructor which creates a single coordinate at X=0
|
||||
// Constructor which creates a single coordinate at X=1
|
||||
Point::Point(float y) :
|
||||
interpolation(CONSTANT), handle_type(AUTO) {
|
||||
// set new coorinate
|
||||
|
||||
Reference in New Issue
Block a user