Added new clip method that returns all properties for a given frame in JSON.

This commit is contained in:
Jonathan Thomas
2015-02-09 22:41:42 -06:00
parent 5290d0177b
commit 5145abdacb
4 changed files with 78 additions and 0 deletions

View File

@@ -107,6 +107,9 @@ namespace openshot {
/// Add a new point on the key-frame, with a specific interpolation type
void AddPoint(float x, float y, InterpolationType interpolate);
/// Does this keyframe contain a specific point
bool Contains(Point p);
/// Set the handles, used for smooth curves. The handles are based on the surrounding points.
void SetHandles(Point current);