Fix bug in ZoomtoFit.

This commit is contained in:
Luis Lucas committed 2014-03-29 21:25:30 +00:00
1 parent 9ca10be148
commit 4d380e6930
3 files changed
+11 -3

No files matched your search

+3 -1
View File
@@ -106,7 +106,7 @@ public:
* @param factor factor of scale. Ex: 1.2 scale the image up by 20% and
* 0.8 scale the image down by 25%
*/
Void scaleView( Double factor );
Void scaleView( Double scale );
/**
* The current image size is scaled to a rectangle as large as possible
@@ -121,6 +121,8 @@ public:
*/
Void scaleView( const QSize & size );
Void scaleViewFactor( Double factor );
Double getScaleFactor()
{
return m_cViewArea->getZoomFactor();