Added the ability to scale and flip keyframes, making it easy to reverse an effect or transition, and resize transitions without having to manually reset the keyframes X coordinates.

This commit is contained in:
Jonathan Thomas
2015-03-13 23:19:55 -05:00
parent e084f638a9
commit e2ee3d01f2
4 changed files with 122 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ int main(int argc, char* argv[])
openshot::Keyframe k;
//cout << "creating " << outer << endl;
for (int z = 0; z<10; z++) {
openshot::Point p(z * 10, 1 * z * outer);
openshot::Point p(z * 10, 1 * z * outer, BEZIER);
k.AddPoint(p);
}
root.append(k.JsonValue());