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

Method setSimulateOverprinting

src/core/map_printer.cpp:748–760  ·  view source on GitHub ↗

slot

Source from the content-addressed store, hash-verified

746
747// slot
748void MapPrinter::setSimulateOverprinting(bool enabled)
749{
750 if (enabled && !map.hasSpotColors())
751 {
752 options.simulate_overprinting = false;
753 emit optionsChanged(options);
754 }
755 else if (options.simulate_overprinting != enabled)
756 {
757 options.simulate_overprinting = enabled;
758 emit optionsChanged(options);
759 }
760}
761
762void MapPrinter::setColorMode(MapPrinterOptions::ColorMode color_mode)
763{

Callers 2

onVisibilityChangedMethod · 0.80
overprintingClickedMethod · 0.80

Calls 1

hasSpotColorsMethod · 0.80

Tested by

no test coverage detected