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

Method Map

src/core/map.cpp:422–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420CombinedSymbol* Map::covering_combined_line;
421
422Map::Map()
423 : color_set()
424 , has_spot_colors(false)
425 , undo_manager(new UndoManager(this))
426 , renderables(new MapRenderables(this))
427 , selection_renderables(new MapRenderables(this))
428 , renderable_options(Symbol::RenderNormal)
429 , printer_config(nullptr)
430{
431 if (!static_initialized)
432 initStatic();
433
434 georeferencing.reset(new Georeferencing());
435 init();
436
437 connect(this, &Map::colorAdded, this, &Map::checkSpotColorPresence);
438 connect(this, &Map::colorChanged, this, &Map::checkSpotColorPresence);
439 connect(this, &Map::colorDeleted, this, &Map::checkSpotColorPresence);
440 connect(undo_manager.data(), &UndoManager::cleanChanged, this, &Map::undoCleanChanged);
441}
442
443Map::~Map()
444{

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected