KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_drill_chart.h File Reference
#include <algorithm>
#include <map>
#include <drill/drill_chart_model.h>
#include <drill/drill_chart_template.h>
#include <drill/drill_span.h>
#include <pcb_table.h>

Go to the source code of this file.

Classes

class  PCB_DRILL_CHART
 A drill chart placed on the board, kept in step with the holes. More...
 

Functions

void RefreshDrillCharts (BOARD &aBoard)
 Bring every chart on the board up to date.
 

Function Documentation

◆ RefreshDrillCharts()

void RefreshDrillCharts ( BOARD & aBoard)

Bring every chart on the board up to date.

A chart is derived data. Anything that reads one calls this first, so a chart can never show a board that has moved on. Charts already built at the current drill generation cost one integer comparison each.

Definition at line 782 of file pcb_drill_chart.cpp.

References BOARD::Drawings(), PCB_DRILL_CHART::GetBuiltGeneration(), BOARD::GetDesignSettings(), BOARD::GetDrillModelGeneration(), BOARD_DESIGN_SETTINGS::GetDrillSymbolProfile(), PCB_DRILL_CHART_T, and PCB_DRILL_CHART::RebuildCells().

Referenced by BOOST_AUTO_TEST_CASE(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), PCBNEW_JOBS_HANDLER::JobUpgrade(), PCB_EDIT_FRAME::OnModify(), and PCB_PLOTTER::Plot().