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

Function CorrectScale

libs/indexer/feature_visibility.cpp:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace
24{
25int CorrectScale(int scale)
26{
27 CHECK_LESS_OR_EQUAL(scale, scales::GetUpperStyleScale(), ());
28 return min(scale, scales::GetUpperStyleScale());
29}
30} // namespace
31
32void GetDrawRule(TypesHolder const & types, int level, drule::KeysT & keys)

Callers 1

GetDrawRuleFunction · 0.85

Calls 1

GetUpperStyleScaleFunction · 0.85

Tested by

no test coverage detected