*@returns Returns the current zoom factor that is applied to the display. **/
| 1284 | *@returns Returns the current zoom factor that is applied to the display. |
| 1285 | **/ |
| 1286 | double |
| 1287 | ViewerGL::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 |
| 1296 | RectI |
no outgoing calls
no test coverage detected