diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-10-10 17:00:04 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:25:46 +0300 |
commit | dfa35b34e0c89e444e21e6ba293903232c3111b9 (patch) | |
tree | f688e0584b11afd58726556d31202a95bbd192f9 /map/navigator.hpp | |
parent | 736d6080314db1a7021da64f506d38a1e1773821 (diff) |
changed code that fits the ScreenBase into WorldRect.
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r-- | map/navigator.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp index c7802736d7..865b496c09 100644 --- a/map/navigator.hpp +++ b/map/navigator.hpp @@ -74,6 +74,10 @@ private: bool CanShrinkInto(ScreenBase const & screen, m2::RectD const & boundRect); ScreenBase const ShrinkInto(ScreenBase const & screen, m2::RectD const & boundRect); + + bool CanRotateInto(ScreenBase const & screen, m2::RectD const & boundRect); + ScreenBase const RotateInto(ScreenBase const & screen, m2::RectD const & boundRect); + ScreenBase const ScaleInto(ScreenBase const & screen, m2::RectD const & boundRect); ScreenBase const ShrinkAndScaleInto(ScreenBase const & screen, m2::RectD const & boundRect); |