KiCad PCB EDA Suite
Loading...
Searching...
No Matches
gen_drill_report_files.cpp File Reference
#include <plotters/plotter_dxf.h>
#include <plotters/plotter_gerber.h>
#include <plotters/plotters_pslike.h>
#include <eda_item.h>
#include <font/font.h>
#include <confirm.h>
#include <richio.h>
#include <string_utils.h>
#include <locale_io.h>
#include <macros.h>
#include <math/util.h>
#include <board.h>
#include <footprint.h>
#include <pcbplot.h>
#include <gendrill_file_writer_base.h>
#include <pcb_painter.h>
#include <pcb_shape.h>

Go to the source code of this file.

Functions

double diameter_in_inches (double ius)
 
double diameter_in_mm (double ius)
 
static int getMarkerBestPenSize (int aMarkerDiameter)
 
int getSketchOvalBestPenSize ()
 
int getDefaultPenSize ()
 

Function Documentation

◆ diameter_in_inches()

double diameter_in_inches ( double  ius)
inline

◆ diameter_in_mm()

double diameter_in_mm ( double  ius)
inline

◆ getDefaultPenSize()

int getDefaultPenSize ( )
inline

Definition at line 81 of file gen_drill_report_files.cpp.

References EDA_IU_SCALE::mmToIU(), and pcbIUScale.

Referenced by GENDRILL_WRITER_BASE::genDrillMapFile().

◆ getMarkerBestPenSize()

static int getMarkerBestPenSize ( int  aMarkerDiameter)
static

◆ getSketchOvalBestPenSize()

int getSketchOvalBestPenSize ( )
inline

Definition at line 73 of file gen_drill_report_files.cpp.

References EDA_IU_SCALE::mmToIU(), and pcbIUScale.

Referenced by GENDRILL_WRITER_BASE::plotDrillMarks().