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

Method GetLong

src/KeyFrame.cpp:287–289  ·  view source on GitHub ↗

Get the rounded INT value at a specific index

Source from the content-addressed store, hash-verified

285
286// Get the rounded INT value at a specific index
287int64_t Keyframe::GetLong(int64_t index) const {
288 return long(round(GetValue(index)));
289}
290
291// Get the direction of the curve at a specific index (increasing or decreasing)
292bool Keyframe::IsIncreasing(int index) const

Callers 5

apply_timemappingMethod · 0.80
GetOrCreateFrameMethod · 0.80
Clip.cppFile · 0.80
KeyFrame.cppFile · 0.80
Color.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected