MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / zoomIn

Method zoomIn

ImagePlay/src/IPImageViewer.cpp:256–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254
255
256void IPImageViewer::zoomIn()
257{
258 _zoomFitMode = false;
259
260 if(_scale >= 9.0)
261 return;
262
263 _scale *= 1.1;
264
265 QMatrix matrix;
266 matrix.scale(_scale, _scale);
267 _graphicsView->setMatrix(matrix);
268}
269
270void IPImageViewer::zoomOut()
271{

Callers 2

zoomAllViewersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected