| 516 | } |
| 517 | |
| 518 | bool UserEventStream::SetRect(m2::RectD rect, int zoom, bool applyRotation, bool isAnim, bool useVisibleViewport, |
| 519 | TAnimationCreator const & parallelAnimCreator) |
| 520 | { |
| 521 | CheckMinGlobalRect(rect, kDefault3dScale); |
| 522 | CheckMinMaxVisibleScale(rect, zoom, kDefault3dScale); |
| 523 | m2::AnyRectD targetRect = applyRotation ? ToRotated(m_navigator, rect) : m2::AnyRectD(rect); |
| 524 | return SetRect(targetRect, isAnim, true /* fitInViewport */, useVisibleViewport, parallelAnimCreator); |
| 525 | } |
| 526 | |
| 527 | bool UserEventStream::SetRect(m2::AnyRectD const & rect, bool isAnim, bool fitInViewport, bool useVisibleViewport, |
| 528 | TAnimationCreator const & parallelAnimCreator) |
nothing calls this directly
no test coverage detected