Mercurial > hg > svcore
comparison data/model/PowerOfTwoZoomConstraint.h @ 1450:a12fd0456f0c streaming-csv-writer
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 17 Apr 2018 10:35:42 +0100 |
parents | 48e9f538e6e9 |
children | 710e6250a401 a7485c1bdba5 |
comparison
equal
deleted
inserted
replaced
1449:deabf9fd3d28 | 1450:a12fd0456f0c |
---|---|
20 | 20 |
21 class PowerOfTwoZoomConstraint : virtual public ZoomConstraint | 21 class PowerOfTwoZoomConstraint : virtual public ZoomConstraint |
22 { | 22 { |
23 public: | 23 public: |
24 virtual int getNearestBlockSize(int requestedBlockSize, | 24 virtual int getNearestBlockSize(int requestedBlockSize, |
25 RoundingDirection dir = RoundNearest) | 25 RoundingDirection dir = RoundNearest) |
26 const; | 26 const; |
27 }; | 27 }; |
28 | 28 |
29 #endif | 29 #endif |
30 | 30 |