| 845 | } |
| 846 | |
| 847 | bool MapPrinter::hasAlpha(const Template* temp) const |
| 848 | { |
| 849 | if (temp->getTemplateState() != Template::Loaded) |
| 850 | return false; |
| 851 | |
| 852 | if (!view) |
| 853 | return temp->hasAlpha(); |
| 854 | |
| 855 | const auto visibility = view->getTemplateVisibility(temp); |
| 856 | return visibility.hasAlpha() |
| 857 | || (visibility.visible && temp->hasAlpha()); |
| 858 | } |
| 859 | |
| 860 | |
| 861 | void MapPrinter::updatePageBreaks() |
no test coverage detected