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

Method clearDrawingBoundingBox

src/gui/map/map_widget.cpp:526–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526void MapWidget::clearDrawingBoundingBox()
527{
528 drawing_dirty_rect_map.setWidth(0);
529 if (drawing_dirty_rect.isValid())
530 {
531 update(drawing_dirty_rect);
532 drawing_dirty_rect.setWidth(0);
533 }
534}
535
536void MapWidget::setActivityBoundingBox(QRectF map_rect, int pixel_border, bool do_update)
537{

Callers 2

setToolMethod · 0.45
setOverrideToolMethod · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected