| 1382 | } |
| 1383 | |
| 1384 | bool Map::hasAlpha() const |
| 1385 | { |
| 1386 | return std::any_of(begin(color_set->colors), end(color_set->colors), [this](const MapColor* color) { |
| 1387 | const auto opacity = color->getOpacity(); |
| 1388 | return opacity > 0 && opacity < 1 |
| 1389 | && std::any_of(begin(symbols), end(symbols), [this, color](const Symbol* symbol) { |
| 1390 | return !symbol->isHidden() |
| 1391 | && symbol->containsColor(color) |
| 1392 | && this->existsObjectWithSymbol(symbol); |
| 1393 | }); |
| 1394 | }); |
| 1395 | } |
| 1396 | |
| 1397 | |
| 1398 | void Map::setSymbolSetId(const QString& id) |
nothing calls this directly
no test coverage detected