KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_drill_map.h File Reference
#include <board_item.h>
#include <drill/drill_span.h>
#include <geometry/shape_poly_set.h>
#include <memory>
#include <mutex>

Go to the source code of this file.

Classes

class  PCB_DRILL_MAP
 Turns on drill symbols at the holes, for one layer. More...
 

Namespaces

namespace  KIGFX
 The Cairo implementation of the graphics abstraction layer.
 

Functions

void RefreshDrillMapOutlines (const BOARD &aBoard, KIGFX::VIEW *aView)
 Repaint every drill map after an Edge.Cuts edit.
 

Function Documentation

◆ RefreshDrillMapOutlines()

void RefreshDrillMapOutlines ( const BOARD & aBoard,
KIGFX::VIEW * aView )

Repaint every drill map after an Edge.Cuts edit.

A map draws the board outline displaced by its own offset, but it is not itself part of the commit that changed the edge cuts, so nothing else tells the view its geometry has moved.

Definition at line 145 of file pcb_drill_map.cpp.

References BOARD::Drawings(), KIGFX::GEOMETRY, PCB_DRILL_MAP_T, KIGFX::REPAINT, and KIGFX::VIEW::Update().

Referenced by BOARD_COMMIT::Push(), PCB_BASE_EDIT_FRAME::RestoreCopyFromRedoList(), PCB_BASE_EDIT_FRAME::RestoreCopyFromUndoList(), and PCB_BASE_EDIT_FRAME::RollbackFromUndo().