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

Function ToDrapeColor

libs/drape_frontend/apply_feature_functors.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51namespace df
52{
53dp::Color ToDrapeColor(uint32_t src)
54{
55 return dp::Color(src, static_cast<uint8_t>(255 - (src >> 24)));
56}
57
58namespace
59{

Callers 8

GetNearestColorMethod · 0.85
ExtractLineParamsFunction · 0.85
ProcessRuleMethod · 0.85
ParseColorMethod · 0.85
GetColorConstantFunction · 0.85

Calls 1

ColorClass · 0.70

Tested by

no test coverage detected