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

Function GetDrawTileScale

libs/drape_frontend/visual_params.cpp:263–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263int GetDrawTileScale(int baseScale, uint32_t tileSize, double visualScale)
264{
265 return std::max(1, baseScale + GetTileScaleIncrement(tileSize, visualScale));
266}
267
268int GetDrawTileScale(ScreenBase const & s, uint32_t tileSize, double visualScale)
269{

Callers 14

IsVisibleMethod · 0.85
ExecuteMapApiRequestMethod · 0.85
GetDrawScaleMethod · 0.85
UpdateViewportMethod · 0.85
CheckMaxScaleFunction · 0.85
GetZoomLevelFunction · 0.85
RenderTransitMethod · 0.85
CheckMinMaxVisibleScaleFunction · 0.85
MustDropAllTilesMethod · 0.85
RefreshBgColorMethod · 0.85
ResolveZoomLevelMethod · 0.85

Calls 4

GetTileScaleIncrementFunction · 0.85
GetTileScaleBaseFunction · 0.85
GetTileSizeMethod · 0.80
GetVisualScaleMethod · 0.80

Tested by

no test coverage detected