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

Method draw

src/tools/tool_base.cpp:319–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319void MapEditorToolBase::draw(QPainter* painter, MapWidget* widget)
320{
321 drawImpl(painter, widget);
322 if (angle_helper->isActive())
323 angle_helper->draw(painter, widget);
324 if (snap_helper->getFilter() != SnappingToolHelper::NoSnapping)
325 snap_helper->draw(painter, widget);
326}
327
328void MapEditorToolBase::updateDirtyRect()
329{

Callers

nothing calls this directly

Calls 2

getFilterMethod · 0.80
isActiveMethod · 0.45

Tested by

no test coverage detected