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

Function ColorToARGB

libs/map/transit/transit_display.cpp:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98uint32_t ColorToARGB(df::ColorConstant const & colorConstant)
99{
100 auto const color = df::GetColorConstant(colorConstant);
101 return color.GetAlpha() << 24 | color.GetRed() << 16 | color.GetGreen() << 8 | color.GetBlue();
102}
103
104vector<m2::PointF> GetTransitMarkerSizes(float markerScale, float maxRouteWidth)
105{

Callers 2

AddEdgePTForSubrouteMethod · 0.85

Calls 5

GetColorConstantFunction · 0.85
GetAlphaMethod · 0.80
GetRedMethod · 0.80
GetGreenMethod · 0.80
GetBlueMethod · 0.80

Tested by

no test coverage detected