Enable first version of ZOOM ALL function.

This commit is contained in:
Luis Lucas committed 2015-01-18 01:07:55 +00:00
1 parent 083f38e8bf
commit 92775fac48
5 files changed
+26 -12

No files matched your search

+2 -2
View File
@@ -71,13 +71,13 @@ public:
/*
* Scale the image (zoomed in or out) to speficied absolute zoom value (1.0 = original size).
*/
virtual Void zoomToFactor( Double ) = 0;
virtual Void zoomToFactor( Double factor , QPoint center = QPoint() ) = 0;
/**
* Scale the image by a given factor
* @param factor factor of scale. Ex: 1.2 scale the image up by 20% and
* 0.8 scale the image down by 25%
*/
virtual Void scaleView( Double ) = 0;
virtual Void scaleView( Double , QPoint center = QPoint() ) = 0;
virtual Double getScaleFactor() = 0;