MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getZoomFactor

Method getZoomFactor

Gui/ViewerGL.cpp:1286–1293  ·  view source on GitHub ↗

*@returns Returns the current zoom factor that is applied to the display. **/

Source from the content-addressed store, hash-verified

1284 *@returns Returns the current zoom factor that is applied to the display.
1285 **/
1286double
1287ViewerGL::getZoomFactor() const
1288{
1289 // MT-SAFE
1290 QMutexLocker l(&_imp->zoomCtxMutex);
1291
1292 return _imp->zoomCtx.factor();
1293}
1294
1295///imageRoD is in PIXEL COORDINATES
1296RectI

Callers 4

zoomInMethod · 0.80
zoomOutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected