diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-07-06 23:16:07 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:20:38 +0300 |
commit | 0e825b8e66feee9d74b7ed0a1d55ea94d618747a (patch) | |
tree | 69bf64d6953e5ce723f00c28be41bf0282d1a3a0 /geometry | |
parent | fbfe610150eb5c0a44fe2e7c037303761e5416e1 (diff) |
fixed tile-sews blitting artefact.
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/screenbase.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/geometry/screenbase.hpp b/geometry/screenbase.hpp index b637749538..df0be885af 100644 --- a/geometry/screenbase.hpp +++ b/geometry/screenbase.hpp @@ -57,6 +57,12 @@ public: void Rotate(double angle); void ReverseTransformInPixelCoords(double s, double a, double dx, double dy); + void OnSize(m2::RectI const & r) + { + m_PixelRect = m2::RectD(r); + UpdateDependentParameters(); + } + void OnSize(int x0, int y0, int w, int h) { m_PixelRect = m2::RectD(x0, y0, x0 + w, y0 + h); |