Mercurial > hg > svcore
diff data/model/PowerOfSqrtTwoZoomConstraint.h @ 1528:a7485c1bdba5
Tests and a couple of minor fixes for zoom constraints
author | Chris Cannam |
---|---|
date | Tue, 18 Sep 2018 15:04:46 +0100 |
parents | 48e9f538e6e9 |
children | c1c45c5146bb |
line wrap: on
line diff
--- a/data/model/PowerOfSqrtTwoZoomConstraint.h Fri Sep 14 15:32:43 2018 +0100 +++ b/data/model/PowerOfSqrtTwoZoomConstraint.h Tue Sep 18 15:04:46 2018 +0100 @@ -13,8 +13,8 @@ COPYING included with this distribution for more information. */ -#ifndef _POWER_OF_SQRT_TWO_ZOOM_CONSTRAINT_H_ -#define _POWER_OF_SQRT_TWO_ZOOM_CONSTRAINT_H_ +#ifndef SV_POWER_OF_SQRT_TWO_ZOOM_CONSTRAINT_H +#define SV_POWER_OF_SQRT_TWO_ZOOM_CONSTRAINT_H #include "base/ZoomConstraint.h" @@ -22,13 +22,13 @@ { public: virtual int getNearestBlockSize(int requestedBlockSize, - RoundingDirection dir = RoundNearest) + RoundingDirection dir = RoundNearest) const; virtual int getNearestBlockSize(int requestedBlockSize, - int &type, - int &power, - RoundingDirection dir = RoundNearest) + int &type, + int &power, + RoundingDirection dir = RoundNearest) const; virtual int getMinCachePower() const { return 6; }