MCPcopy Create free account
hub / github.com/comaps/comaps / OnUpdateScreen

Method OnUpdateScreen

libs/drape_frontend/my_position_controller.cpp:224–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void MyPositionController::OnUpdateScreen(ScreenBase const & screen)
225{
226 m_pixelRect = screen.PixelRectIn3d();
227 if (m_visiblePixelRect.IsEmptyInterior())
228 SetVisibleViewport(m_pixelRect);
229}
230
231void MyPositionController::SetVisibleViewport(m2::RectD const & rect)
232{

Callers 2

OnResizeMethod · 0.80
PrepareSceneMethod · 0.80

Calls 1

IsEmptyInteriorMethod · 0.80

Tested by

no test coverage detected