MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getScale

Method getScale

snap_drawing/src/snap_drawing/cpp/Layers/LayerRoot.cpp:357–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355
356bool LayerRoot::needsProcessFrame() const {
357 return _didEnqueueFrame || _needsDisplay || needsLayout() || !_eventQueue.isEmpty() || !_touchDispatcher.isEmpty();
358}
359
360bool LayerRoot::needsLayout() const {
361 return _needsLayout && _contentLayer != nullptr;
362}

Callers 1

snapshotViewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected