Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'drape_frontend/visual_params.hpp')
-rw-r--r--drape_frontend/visual_params.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/drape_frontend/visual_params.hpp b/drape_frontend/visual_params.hpp
index 7f2320b3a5..eb32f284ee 100644
--- a/drape_frontend/visual_params.hpp
+++ b/drape_frontend/visual_params.hpp
@@ -85,6 +85,8 @@ m2::RectD GetRectForDrawScale(double drawScale, m2::PointD const & center);
uint32_t CalculateTileSize(uint32_t screenWidth, uint32_t screenHeight);
double GetZoomLevel(double scale);
+void ExtractZoomFactors(ScreenBase const & s, double & zoom, int & index, float & lerpCoef);
+float InterpolateByZoomLevels(int index, float lerpCoef, std::vector<float> const & values);
double GetNormalizedZoomLevel(double scale, int minZoom = 1);
double GetScale(double zoomLevel);