Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ SetFontScale
Method
SetFontScale
libs/drape_frontend/visual_params.cpp:64–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
62
}
63
64
void VisualParams::SetFontScale(double fontScale)
65
{
66
ASSERT_INITED;
67
m_fontScale = math::Clamp(fontScale, 0.5, 2.0);
68
}
69
70
void VisualParams::SetVisualScale(double visualScale)
71
{
Callers
1
SetFontScaleFactor
Method · 0.80
Calls
1
Clamp
Function · 0.85
Tested by
no test coverage detected