| 67 | } |
| 68 | |
| 69 | bool CheckBorders(ScreenBase const & screen) |
| 70 | { |
| 71 | m2::RectD const & r = screen.ClipRect(); |
| 72 | m2::RectD const & worldR = df::GetWorldRect(); |
| 73 | |
| 74 | return (r.IsRectInside(worldR) || worldR.IsRectInside(r)); |
| 75 | } |
| 76 | |
| 77 | bool CanShrinkInto(ScreenBase const & screen, m2::RectD const & boundRect) |
| 78 | { |
no test coverage detected