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

Method Layer

src/ClipBase.cpp:31–39  ·  view source on GitHub ↗

Set layer of clip on timeline (lower number is covered by higher numbers)

Source from the content-addressed store, hash-verified

29
30// Set layer of clip on timeline (lower number is covered by higher numbers)
31void ClipBase::Layer(int value) {
32 layer = value;
33
34 if (ParentTimeline()) {
35 // Resort timeline items (internal clips/effects arrays)
36 Timeline *parentTimeline = (Timeline *) ParentTimeline();
37 parentTimeline->SortTimeline();
38 }
39}
40
41// Set start position (in seconds) of clip (trim start of video)
42void ClipBase::Start(float value) {

Callers 13

operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
apply_effectsMethod · 0.45
GetFrameMethod · 0.45
FFmpegWriter.cppFile · 0.45
Clip.cppFile · 0.45
Timeline.cppFile · 0.45
QtImageReader.cppFile · 0.45
mainFunction · 0.45
FrameMapper.cppFile · 0.45

Calls 1

SortTimelineMethod · 0.80

Tested by

no test coverage detected