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

Method SetFromScreen

libs/drape_frontend/navigator.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17double constexpr kDefault3dScale = 1.0;
18
19void Navigator::SetFromScreen(ScreenBase const & screen)
20{
21 VisualParams const & p = VisualParams::Instance();
22 SetFromScreen(screen, p.GetTileSize(), p.GetVisualScale());
23}
24
25void Navigator::SetFromScreen(ScreenBase const & screen, uint32_t tileSize, double visualScale)
26{

Callers 3

ApplyAnimationsMethod · 0.80
SetScreenMethod · 0.80
SetFollowAndRotateMethod · 0.80

Calls 12

ScaleIntoFunction · 0.85
GetWorldRectFunction · 0.85
CheckMaxScaleFunction · 0.85
GetUpperStyleScaleFunction · 0.85
GetRectForDrawScaleFunction · 0.85
CheckMinMaxVisibleScaleFunction · 0.85
ASSERTFunction · 0.85
GetTileSizeMethod · 0.80
GetVisualScaleMethod · 0.80
GetScale3dMethod · 0.80
ScaleMethod · 0.45
SetFromRectMethod · 0.45

Tested by

no test coverage detected