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

Function GetLineColor

libs/map/chart_generator.cpp:53–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53agg::rgba8 GetLineColor(MapStyle mapStyle)
54{
55 switch (mapStyle)
56 {
57 case MapStyleCount: LOG(LERROR, ("Wrong map style param.")); // fallthrough
58 case MapStyleDefaultDark:
59 case MapStyleVehicleDark:
60 case MapStyleOutdoorsDark: return agg::rgba8(255, 230, 140, 255);
61 case MapStyleDefaultLight:
62 case MapStyleVehicleLight:
63 case MapStyleOutdoorsLight:
64 case MapStyleMerged: return agg::rgba8(30, 150, 240, 255);
65 }
66 UNREACHABLE();
67}
68
69agg::rgba8 GetCurveColor(MapStyle mapStyle)
70{

Callers 1

GenerateChartByPointsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected