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

Method zoomOut

ImagePlay/src/IPImageViewer.cpp:270–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270void IPImageViewer::zoomOut()
271{
272 _zoomFitMode = false;
273
274 if(_scale <= 0.1)
275 return;
276
277 _scale *= (1/1.1);
278
279 QMatrix matrix;
280 matrix.scale(_scale, _scale);
281 _graphicsView->setMatrix(matrix);
282}
283
284void IPImageViewer::zoomFit()
285{

Callers 2

zoomAllViewersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected