Fix bug in ZoomtoFit.
This commit is contained in:
1 parent
9ca10be148
commit
4d380e6930
3 files changed
+11
-3
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user