comparison 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
comparison
equal deleted inserted replaced
1547:32400727bcbd 1550:1ae6a19464a7
25 RoundingDirection dir = RoundNearest) 25 RoundingDirection dir = RoundNearest)
26 const override; 26 const override;
27 27
28 virtual int getMinCachePower() const { return 6; } 28 virtual int getMinCachePower() const { return 6; }
29 29
30 virtual int getNearestBlockSize(int requestedBlockSize, 30 virtual double getNearestBlockSize(double requestedBlockSize,
31 int &type, 31 int &type,
32 int &power, 32 int &power,
33 RoundingDirection dir = RoundNearest) 33 RoundingDirection dir = RoundNearest)
34 const; 34 const;
35 }; 35 };
36 36
37 #endif 37 #endif
38 38