MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/xstudio / has_grid_layout

Method has_grid_layout

src/media_reader/src/media_reader.cpp:272–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272bool ImageBufDisplaySet::has_grid_layout() const {
273
274 // This indicates if the images in a set are all overlaid on each other (e.g. A/B
275 // compare or Over of Off etc) or whether they have different transforms (e.g.
276 // grid mode or PiP)
277 for (int i = 1; i < num_onscreen_images(); ++i) {
278 if (onscreen_image(i).layout_transform() != onscreen_image(0).layout_transform())
279 return true;
280 }
281 return false;
282}
283
284
285void ImageBufDisplaySet::finalise() {

Callers 4

StandardPluginMethod · 0.80

Calls 1

layout_transformMethod · 0.80

Tested by

no test coverage detected