diff data/model/PowerOfSqrtTwoZoomConstraint.h @ 1550:1ae6a19464a7 zoom-double

Messing with non-integer zoom ratios. But I don't think this is going anywhere as it stands
author Chris Cannam
date Mon, 08 Oct 2018 13:39:40 +0100
parents c1c45c5146bb
children
line wrap: on
line diff
--- a/data/model/PowerOfSqrtTwoZoomConstraint.h	Mon Oct 01 15:48:02 2018 +0100
+++ b/data/model/PowerOfSqrtTwoZoomConstraint.h	Mon Oct 08 13:39:40 2018 +0100
@@ -27,10 +27,10 @@
 	
     virtual int getMinCachePower() const { return 6; }
 
-    virtual int getNearestBlockSize(int requestedBlockSize,
-                                    int &type,
-                                    int &power,
-                                    RoundingDirection dir = RoundNearest)
+    virtual double getNearestBlockSize(double requestedBlockSize,
+                                       int &type,
+                                       int &power,
+                                       RoundingDirection dir = RoundNearest)
         const;
 };