diff layer/LayerGeometryProvider.h @ 1183:57d192e26331 zoom

Some hackery toward having a zoomlevel type
author Chris Cannam
date Mon, 12 Dec 2016 15:18:52 +0000
parents c8c747783110
children bc2cb82050a0
line wrap: on
line diff
--- a/layer/LayerGeometryProvider.h	Fri Dec 09 18:01:55 2016 +0000
+++ b/layer/LayerGeometryProvider.h	Mon Dec 12 15:18:52 2016 +0000
@@ -147,9 +147,10 @@
                                  bool &log) const = 0;
 
     /**
-     * Return the zoom level, i.e. the number of frames per pixel
+     * Return the zoom level, i.e. the number of frames per pixel or
+     * pixels per frame
      */
-    virtual int getZoomLevel() const = 0;
+    virtual ZoomLevel getZoomLevel() const = 0;
 
     /**
      * To be called from a layer, to obtain the extent of the surface