| 239 | |
| 240 | |
| 241 | void IPImageViewer::zoomTo(float scale) |
| 242 | { |
| 243 | _zoomFitMode = false; |
| 244 | |
| 245 | if(_scale >= 9.0) |
| 246 | return; |
| 247 | |
| 248 | _scale = scale; |
| 249 | |
| 250 | QMatrix matrix; |
| 251 | matrix.scale(_scale, _scale); |
| 252 | _graphicsView->setMatrix(matrix); |
| 253 | } |
| 254 | |
| 255 | |
| 256 | void IPImageViewer::zoomIn() |
no outgoing calls
no test coverage detected