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

Method GetInt

src/KeyFrame.cpp:282–284  ·  view source on GitHub ↗

Get the rounded INT value at a specific index

Source from the content-addressed store, hash-verified

280
281// Get the rounded INT value at a specific index
282int Keyframe::GetInt(int64_t index) const {
283 return int(round(GetValue(index)));
284}
285
286// Get the rounded INT value at a specific index
287int64_t Keyframe::GetLong(int64_t index) const {

Callers 12

GetOrCreateFrameMethod · 0.80
apply_waveformMethod · 0.80
add_layerMethod · 0.80
GetFrameMethod · 0.80
GetColorHexMethod · 0.80
GetColorRGBAMethod · 0.80
GetFrameMethod · 0.80
PropertiesJSONMethod · 0.80
GetFrameMethod · 0.80
KeyFrame.cppFile · 0.80
Color.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected