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:
authorYury Melnichek <melnichek@gmail.com>2011-11-08 05:13:56 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:27:21 +0300
commit8b936cc3776d7ffac097e93dba674600a00361da (patch)
treecd988aef47d7609869e2d7ab780ec1648b063ce7 /map/ruler.cpp
parent5b2f13750bcd994b768270f88127646f7e977640 (diff)
Fine-tune ruler and coordiantes margins.
Diffstat (limited to 'map/ruler.cpp')
-rw-r--r--map/ruler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/map/ruler.cpp b/map/ruler.cpp
index dac9160c34..962a748e11 100644
--- a/map/ruler.cpp
+++ b/map/ruler.cpp
@@ -281,7 +281,7 @@ void Ruler::draw(yg::gl::OverlayRenderer * s, math::Matrix<double, 3, 3> const &
if (position() & yg::EPosLeft)
s->drawText(m_fontDesc,
- m_path[2] + m2::PointD(-7, -7),
+ m_path[2] + m2::PointD(-7, -3),
yg::EPosAboveLeft,
m_scalerText.c_str(),
depth(),
@@ -289,14 +289,14 @@ void Ruler::draw(yg::gl::OverlayRenderer * s, math::Matrix<double, 3, 3> const &
else
if (position() & yg::EPosRight)
s->drawText(m_fontDesc,
- m_path[1] + m2::PointD(7, -7),
+ m_path[1] + m2::PointD(7, -3),
yg::EPosAboveRight,
m_scalerText.c_str(),
depth(),
false);
else
s->drawText(m_fontDesc,
- (m_path[1] + m_path[2]) * 0.5 + m2::PointD(0, -7),
+ (m_path[1] + m_path[2]) * 0.5 + m2::PointD(0, -3),
yg::EPosAbove,
m_scalerText.c_str(),
depth(),