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

Method isOutputEmpty

src/core/map_printer.cpp:771–778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771bool MapPrinter::isOutputEmpty() const
772{
773 return (
774 (map.getNumObjects() == 0 || (view && !view->effectiveMapVisibility().visible)) &&
775 (!options.show_templates || map.getNumTemplates() == 0) &&
776 !options.show_grid
777 );
778}
779
780QSizeF MapPrinter::getPrintAreaPaperSize() const
781{

Callers 1

checkForEmptyMapMethod · 0.80

Calls 3

getNumTemplatesMethod · 0.80
getNumObjectsMethod · 0.45

Tested by

no test coverage detected