Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
51
namespace df
52
{
53
dp::Color ToDrapeColor(uint32_t src)
54
{
55
return dp::Color(src, static_cast<uint8_t>(255 - (src >> 24)));
56
}
57
58
namespace
59
{
Callers
8
GetNearestColor
Method · 0.85
ExtractLineParams
Function · 0.85
CaptionDefProtoToFontDecl
Function · 0.85
ShieldRuleProtoToFontDecl
Function · 0.85
ProcessRule
Method · 0.85
GetRoadShieldsViewParams
Method · 0.85
ParseColor
Method · 0.85
GetColorConstant
Function · 0.85
Calls
1
Color
Class · 0.70
Tested by
no test coverage detected