MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / Keyframe

Method Keyframe

src/KeyFrame.cpp:115–118  ·  view source on GitHub ↗

Constructor which sets the default point & coordinate at X=1

Source from the content-addressed store, hash-verified

113
114// Constructor which sets the default point & coordinate at X=1
115Keyframe::Keyframe(double value) {
116 // Add initial point
117 AddPoint(Point(1, value));
118}
119
120// Constructor which takes a vector of Points
121Keyframe::Keyframe(const std::vector<openshot::Point>& points) : Points(points) {};

Callers 1

Calls 1

PointClass · 0.85

Tested by

no test coverage detected