diff options
author | vng <viktor.govako@gmail.com> | 2015-05-15 13:09:27 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:48:08 +0300 |
commit | 1f50787b057ea3fef8c5f0b3a3945286ce07ea6a (patch) | |
tree | e570520307996acf9acb9742435b1d17f567010c /map/navigator_utils.hpp | |
parent | eefa43a2b1e4d0bc73ca81922b8614ec05dff6c4 (diff) |
Render policies refactoring to support GPU and Software rendering.
Diffstat (limited to 'map/navigator_utils.hpp')
-rw-r--r-- | map/navigator_utils.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/map/navigator_utils.hpp b/map/navigator_utils.hpp new file mode 100644 index 0000000000..4a8050d544 --- /dev/null +++ b/map/navigator_utils.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include "map/navigator.hpp" +#include "map/scales_processor.hpp" + +#include "geometry/any_rect2d.hpp" + +namespace navi +{ + +m2::AnyRectD ToRotated(m2::RectD const & rect, Navigator const & navigator); +void SetRectFixedAR(m2::AnyRectD const & rect, ScalesProcessor const & scales, Navigator & navigator); + +} // namespace navi |