MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / isColorUsedByASymbol

Method isColorUsedByASymbol

src/core/map.cpp:1301–1309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1299}
1300
1301bool Map::isColorUsedByASymbol(const MapColor* color) const
1302{
1303 for (const Symbol* symbol : symbols)
1304 {
1305 if (symbol->containsColor(color))
1306 return true;
1307 }
1308 return false;
1309}
1310
1311void Map::determineColorsInUse(const std::vector< bool >& by_which_symbols, std::vector< bool >& out) const
1312{

Callers 3

beginOfSpotColorsFunction · 0.80
exportImplementationMethod · 0.80
deleteColorMethod · 0.80

Calls 1

containsColorMethod · 0.45

Tested by

no test coverage detected