KiCad PCB EDA Suite
Loading...
Searching...
No Matches
BRDITEMS_PLOTTER Class Reference

#include <pcbplot.h>

Inheritance diagram for BRDITEMS_PLOTTER:
PCB_PLOT_PARAMS

Public Member Functions

 BRDITEMS_PLOTTER (PLOTTER *aPlotter, BOARD *aBoard, const PCB_PLOT_PARAMS &aPlotOpts)
 
int getFineWidthAdj () const
 
void SetLayerSet (LSET aLayerMask)
 
void PlotFootprintGraphicItems (const FOOTPRINT *aFootprint)
 
void PlotFootprintTextItems (const FOOTPRINT *aFootprint)
 
void PlotDimension (const PCB_DIMENSION_BASE *aDim)
 
void PlotPcbTarget (const PCB_TARGET *aMire)
 
void PlotZone (const ZONE *aZone, PCB_LAYER_ID aLayer, const SHAPE_POLY_SET &aPolysList)
 
void PlotText (const EDA_TEXT *aText, PCB_LAYER_ID aLayer, bool aIsKnockout, const KIFONT::METRICS &aFontMetrics)
 
void PlotShape (const PCB_SHAPE *aShape)
 
void PlotTableBorders (const PCB_TABLE *aTable)
 
void PlotPad (const PAD *aPad, const COLOR4D &aColor, OUTLINE_MODE aPlotMode)
 Plot a pad.
 
void PlotBoardGraphicItem (const BOARD_ITEM *item)
 Plot items like text and graphics but not tracks and footprints.
 
void PlotDrillMarks ()
 Draw a drill mark for pads and vias.
 
COLOR4D getColor (int aLayer) const
 White color is special because it cannot be seen on a white paper in B&W mode.
 
void SetSkipPlotNPTH_Pads (bool aSkip)
 
bool GetSkipPlotNPTH_Pads () const
 
void Format (OUTPUTFORMATTER *aFormatter, int aNestLevel, int aControl=0) const
 
void Parse (PCB_PLOT_PARAMS_PARSER *aParser)
 
bool IsSameAs (const PCB_PLOT_PARAMS &aPcbPlotParams) const
 Compare current settings to aPcbPlotParams, including not saved parameters in brd file.
 
void SetColorSettings (COLOR_SETTINGS *aSettings)
 
COLOR_SETTINGSColorSettings () const
 
void SetTextMode (PLOT_TEXT_MODE aVal)
 
PLOT_TEXT_MODE GetTextMode () const
 
void SetPlotMode (OUTLINE_MODE aPlotMode)
 
OUTLINE_MODE GetPlotMode () const
 
void SetDXFPlotPolygonMode (bool aFlag)
 
bool GetDXFPlotPolygonMode () const
 
void SetDXFPlotUnits (DXF_UNITS aUnit)
 
DXF_UNITS GetDXFPlotUnits () const
 
void SetDrillMarksType (DRILL_MARKS aVal)
 
DRILL_MARKS GetDrillMarksType () const
 
void SetScale (double aVal)
 
double GetScale () const
 
void SetFineScaleAdjustX (double aVal)
 
double GetFineScaleAdjustX () const
 
void SetFineScaleAdjustY (double aVal)
 
double GetFineScaleAdjustY () const
 
void SetWidthAdjust (int aVal)
 
int GetWidthAdjust () const
 
void SetAutoScale (bool aFlag)
 
bool GetAutoScale () const
 
void SetMirror (bool aFlag)
 
bool GetMirror () const
 
void SetSketchPadsOnFabLayers (bool aFlag)
 
bool GetSketchPadsOnFabLayers () const
 
void SetSketchPadLineWidth (int aWidth)
 
int GetSketchPadLineWidth () const
 
void SetPlotInvisibleText (bool aFlag)
 
bool GetPlotInvisibleText () const
 
void SetPlotValue (bool aFlag)
 
bool GetPlotValue () const
 
void SetPlotReference (bool aFlag)
 
bool GetPlotReference () const
 
void SetPlotFPText (bool aFlag)
 
bool GetPlotFPText () const
 
void SetNegative (bool aFlag)
 
bool GetNegative () const
 
void SetPlotViaOnMaskLayer (bool aFlag)
 
bool GetPlotViaOnMaskLayer () const
 
void SetPlotFrameRef (bool aFlag)
 
bool GetPlotFrameRef () const
 
void SetFormat (PLOT_FORMAT aFormat)
 
PLOT_FORMAT GetFormat () const
 
void SetOutputDirectory (const wxString &aDir)
 
wxString GetOutputDirectory () const
 
void SetDisableGerberMacros (bool aDisable)
 
bool GetDisableGerberMacros () const
 
void SetUseGerberX2format (bool aUse)
 
bool GetUseGerberX2format () const
 
void SetIncludeGerberNetlistInfo (bool aUse)
 
bool GetIncludeGerberNetlistInfo () const
 
void SetCreateGerberJobFile (bool aCreate)
 
bool GetCreateGerberJobFile () const
 
void SetUseGerberProtelExtensions (bool aUse)
 
bool GetUseGerberProtelExtensions () const
 
void SetGerberPrecision (int aPrecision)
 
int GetGerberPrecision () const
 
void SetSvgPrecision (unsigned aPrecision)
 
unsigned GetSvgPrecision () const
 
void SetBlackAndWhite (bool blackAndWhite)
 
unsigned GetBlackAndWhite () const
 
void SetSubtractMaskFromSilk (bool aSubtract)
 
bool GetSubtractMaskFromSilk () const
 
void SetLayerSelection (LSET aSelection)
 
LSET GetLayerSelection () const
 
void SetPlotOnAllLayersSelection (LSET aSelection)
 
LSET GetPlotOnAllLayersSelection () const
 
void SetUseAuxOrigin (bool aAux)
 
bool GetUseAuxOrigin () const
 
void SetScaleSelection (int aSelection)
 
int GetScaleSelection () const
 
void SetA4Output (int aForce)
 
bool GetA4Output () const
 
double GetHPGLPenDiameter () const
 
bool SetHPGLPenDiameter (double aValue)
 
int GetHPGLPenSpeed () const
 
bool SetHPGLPenSpeed (int aValue)
 
void SetHPGLPenNum (int aVal)
 
int GetHPGLPenNum () const
 
void SetDashedLineDashRatio (double aVal)
 
double GetDashedLineDashRatio () const
 
void SetDashedLineGapRatio (double aVal)
 
double GetDashedLineGapRatio () const
 

Public Attributes

bool m_PDFFrontFPPropertyPopups
 Generate PDF property popup menus for footprints.
 
bool m_PDFBackFPPropertyPopups
 on front and/or back of board
 
bool m_PDFMetadata
 Generate PDF metadata for SUBJECT and AUTHOR.
 

Private Member Functions

void plotOneDrillMark (PAD_DRILL_SHAPE_T aDrillShape, const VECTOR2I &aDrillPos, const VECTOR2I &aDrillSize, const VECTOR2I &aPadSize, const EDA_ANGLE &aOrientation, int aSmallDrill)
 Helper function to plot a single drill mark.
 

Private Attributes

PLOTTERm_plotter
 
BOARDm_board
 
LSET m_layerMask
 
PLOT_FORMAT m_format
 
LSET m_layerSelection
 Plot format type (chooses the driver to be used)
 
LSET m_plotOnAllLayersSelection
 
bool m_skipNPTH_Pads
 
OUTLINE_MODE m_plotMode
 Used to disable NPTH pads plotting on copper layers.
 
DRILL_MARKS m_drillMarks
 FILLED or SKETCH for filled objects.
 
PLOT_TEXT_MODE m_textMode
 Holes can be not plotted, have a small mark, or be plotted in actual size.
 
DXF_UNITS m_DXFUnits
 
bool m_DXFPolygonMode
 
bool m_A4Output
 In polygon mode, each item to plot is converted to a polygon and all polygons are merged.
 
bool m_autoScale
 Autoscale the plot to fit an A4 (landscape?) sheet.
 
double m_scale
 When true set the scale to fit the board in the page.
 
bool m_mirror
 Global scale factor, 1.0 plots a board at actual size.
 
bool m_negative
 Mirror the plot around the X axis.
 
bool m_blackAndWhite
 Plot in negative color (supported only by some drivers)
 
bool m_plotDrawingSheet
 Plot in black and white only.
 
bool m_plotViaOnMaskLayer
 
bool m_subtractMaskFromSilk
 True if vias are drawn on Mask layer (ie untented, exposed by mask)
 
bool m_useGerberProtelExtensions
 On gerbers 'scrape' away the solder mask from silkscreen (trim silks)
 
bool m_useGerberX2format
 Include attributes from the Gerber X2 format (chapter 5 in revision J2)
 
bool m_gerberDisableApertMacros
 Disable aperture macros in Gerber format (only for broken Gerber readers).
 
bool m_includeGerberNetlistInfo
 Include netlist info (only in Gerber X2 format) (chapter ? in revision ?)
 
bool m_createGerberJobFile
 generate the auxiliary "job file" in gerber format
 
int m_gerberPrecision
 Precision of coordinates in Gerber: accepted 5 or 6 when units are in mm, 6 or 7 in inches (but Pcbnew uses mm).
 
unsigned m_svgPrecision
 Precision of coordinates in SVG: accepted 3 - 6; 6 is the internal resolution of Pcbnew.
 
bool m_useAuxOrigin
 Plot gerbers using auxiliary (drill) origin instead of absolute coordinates.
 
wxString m_outputDirectory
 Output directory for plot files (usually relative to the board file)
 
int m_scaleSelection
 Scale ratio index (UI only)
 
bool m_plotReference
 Enable plotting of part references.
 
bool m_plotValue
 Enable plotting of part values.
 
bool m_plotFPText
 
bool m_plotInvisibleText
 Force plotting of fields marked invisible.
 
bool m_sketchPadsOnFabLayers
 Plots pads outlines on fab layers.
 
int m_sketchPadLineWidth
 
double m_fineScaleAdjustX
 Compensation for printer scale errors (and therefore.
 
double m_fineScaleAdjustY
 expected to be very near 1.0).
 
int m_widthAdjust
 Compensation for PS printers/plotters that do not strictly obey line width settings.
 
int m_HPGLPenNum
 HPGL only: pen number selection(1 to 9)
 
int m_HPGLPenSpeed
 HPGL only: pen speed, always in cm/s (1 to 99 cm/s)
 
double m_HPGLPenDiam
 HPGL only: pen diameter in MILS, useful to fill areas However, it is in mm in hpgl files.
 
double m_dashedLineDashRatio
 
double m_dashedLineGapRatio
 
COLOR_SETTINGSm_colors
 
std::shared_ptr< COLOR_SETTINGSm_default_colors
 Pointer to color settings to be used for plotting.
 

Detailed Description

Definition at line 62 of file pcbplot.h.

Constructor & Destructor Documentation

◆ BRDITEMS_PLOTTER()

BRDITEMS_PLOTTER::BRDITEMS_PLOTTER ( PLOTTER aPlotter,
BOARD aBoard,
const PCB_PLOT_PARAMS aPlotOpts 
)
inline

Definition at line 65 of file pcbplot.h.

Member Function Documentation

◆ ColorSettings()

COLOR_SETTINGS * PCB_PLOT_PARAMS::ColorSettings ( ) const
inlineinherited

Definition at line 59 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_colors.

Referenced by getColor(), PlotDimension(), PlotStandardLayer(), and StartPlotBoard().

◆ Format()

void PCB_PLOT_PARAMS::Format ( OUTPUTFORMATTER aFormatter,
int  aNestLevel,
int  aControl = 0 
) const
inherited

Definition at line 173 of file pcb_plot_params.cpp.

References LSET::FmtHex(), KICAD_FORMAT::FormatBool(), gbrDefaultPrecision, PCB_PLOT_PARAMS::GetCreateGerberJobFile(), PCB_PLOT_PARAMS::GetDashedLineDashRatio(), PCB_PLOT_PARAMS::GetDashedLineGapRatio(), PCB_PLOT_PARAMS::GetIncludeGerberNetlistInfo(), PCB_PLOT_PARAMS::GetPlotMode(), getTokenName(), PCB_PLOT_PARAMS::GetUseGerberX2format(), PCB_PLOT_PARAMS::m_A4Output, PCB_PLOT_PARAMS::m_drillMarks, PCB_PLOT_PARAMS::m_DXFPolygonMode, PCB_PLOT_PARAMS::m_DXFUnits, PCB_PLOT_PARAMS::m_format, PCB_PLOT_PARAMS::m_gerberDisableApertMacros, PCB_PLOT_PARAMS::m_gerberPrecision, PCB_PLOT_PARAMS::m_HPGLPenDiam, PCB_PLOT_PARAMS::m_HPGLPenNum, PCB_PLOT_PARAMS::m_HPGLPenSpeed, PCB_PLOT_PARAMS::m_layerSelection, PCB_PLOT_PARAMS::m_mirror, PCB_PLOT_PARAMS::m_negative, PCB_PLOT_PARAMS::m_outputDirectory, PCB_PLOT_PARAMS::m_PDFBackFPPropertyPopups, PCB_PLOT_PARAMS::m_PDFFrontFPPropertyPopups, PCB_PLOT_PARAMS::m_PDFMetadata, PCB_PLOT_PARAMS::m_plotDrawingSheet, PCB_PLOT_PARAMS::m_plotFPText, PCB_PLOT_PARAMS::m_plotInvisibleText, PCB_PLOT_PARAMS::m_plotOnAllLayersSelection, PCB_PLOT_PARAMS::m_plotReference, PCB_PLOT_PARAMS::m_plotValue, PCB_PLOT_PARAMS::m_plotViaOnMaskLayer, PCB_PLOT_PARAMS::m_scaleSelection, PCB_PLOT_PARAMS::m_sketchPadsOnFabLayers, PCB_PLOT_PARAMS::m_subtractMaskFromSilk, PCB_PLOT_PARAMS::m_svgPrecision, PCB_PLOT_PARAMS::m_textMode, PCB_PLOT_PARAMS::m_useAuxOrigin, PCB_PLOT_PARAMS::m_useGerberProtelExtensions, OUTPUTFORMATTER::Print(), and SKETCH.

Referenced by PCB_IO_KICAD_SEXPR::formatSetup().

◆ GetA4Output()

bool PCB_PLOT_PARAMS::GetA4Output ( ) const
inlineinherited

Definition at line 172 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_A4Output.

Referenced by DIALOG_PLOT::init_Dialog(), and initializePlotter().

◆ GetAutoScale()

bool PCB_PLOT_PARAMS::GetAutoScale ( ) const
inlineinherited

Definition at line 94 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_autoScale.

Referenced by initializePlotter().

◆ GetBlackAndWhite()

unsigned PCB_PLOT_PARAMS::GetBlackAndWhite ( ) const
inlineinherited

Definition at line 150 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_blackAndWhite.

Referenced by DIALOG_PLOT::init_Dialog(), and initializePlotter().

◆ getColor()

COLOR4D BRDITEMS_PLOTTER::getColor ( int  aLayer) const

White color is special because it cannot be seen on a white paper in B&W mode.

It is plotted as white but other colors are plotted in BLACK so the returned color is LIGHTGRAY when the layer color is WHITE.

Parameters
aLayeris the layer id.
Returns
the layer color.

Definition at line 63 of file plot_brditems_plotter.cpp.

References color, PCB_PLOT_PARAMS::ColorSettings(), COLOR_SETTINGS::GetColor(), and LIGHTGRAY.

Referenced by PlotPcbTarget(), PlotShape(), PlotStandardLayer(), PlotText(), and PlotZone().

◆ GetCreateGerberJobFile()

bool PCB_PLOT_PARAMS::GetCreateGerberJobFile ( ) const
inlineinherited

◆ GetDashedLineDashRatio()

double PCB_PLOT_PARAMS::GetDashedLineDashRatio ( ) const
inlineinherited

◆ GetDashedLineGapRatio()

double PCB_PLOT_PARAMS::GetDashedLineGapRatio ( ) const
inlineinherited

◆ GetDisableGerberMacros()

bool PCB_PLOT_PARAMS::GetDisableGerberMacros ( ) const
inlineinherited

◆ GetDrillMarksType()

DRILL_MARKS PCB_PLOT_PARAMS::GetDrillMarksType ( ) const
inlineinherited

◆ GetDXFPlotPolygonMode()

bool PCB_PLOT_PARAMS::GetDXFPlotPolygonMode ( ) const
inlineinherited

Definition at line 75 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_DXFPolygonMode.

Referenced by DIALOG_PLOT::init_Dialog(), and PlotOneBoardLayer().

◆ GetDXFPlotUnits()

DXF_UNITS PCB_PLOT_PARAMS::GetDXFPlotUnits ( ) const
inlineinherited

Definition at line 78 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_DXFUnits.

Referenced by DIALOG_PLOT::init_Dialog(), and StartPlotBoard().

◆ GetFineScaleAdjustX()

double PCB_PLOT_PARAMS::GetFineScaleAdjustX ( ) const
inlineinherited

Definition at line 87 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_fineScaleAdjustX.

Referenced by StartPlotBoard().

◆ GetFineScaleAdjustY()

double PCB_PLOT_PARAMS::GetFineScaleAdjustY ( ) const
inlineinherited

Definition at line 89 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_fineScaleAdjustY.

Referenced by StartPlotBoard().

◆ getFineWidthAdj()

int BRDITEMS_PLOTTER::getFineWidthAdj ( ) const
inline
Returns
a 'width adjustment' for the postscript engine (useful for controlling toner bleeding during direct transfer) added to track width and via/pads size

Definition at line 76 of file pcbplot.h.

References PCB_PLOT_PARAMS::GetFormat(), and PCB_PLOT_PARAMS::GetWidthAdjust().

Referenced by plotOneDrillMark(), and PlotStandardLayer().

◆ GetFormat()

PLOT_FORMAT PCB_PLOT_PARAMS::GetFormat ( ) const
inlineinherited

◆ GetGerberPrecision()

int PCB_PLOT_PARAMS::GetGerberPrecision ( ) const
inlineinherited

◆ GetHPGLPenDiameter()

double PCB_PLOT_PARAMS::GetHPGLPenDiameter ( ) const
inlineinherited

◆ GetHPGLPenNum()

int PCB_PLOT_PARAMS::GetHPGLPenNum ( ) const
inlineinherited

Definition at line 184 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_HPGLPenNum.

Referenced by ConfigureHPGLPenSizes().

◆ GetHPGLPenSpeed()

int PCB_PLOT_PARAMS::GetHPGLPenSpeed ( ) const
inlineinherited

Definition at line 180 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_HPGLPenSpeed.

Referenced by ConfigureHPGLPenSizes().

◆ GetIncludeGerberNetlistInfo()

bool PCB_PLOT_PARAMS::GetIncludeGerberNetlistInfo ( ) const
inlineinherited

◆ GetLayerSelection()

LSET PCB_PLOT_PARAMS::GetLayerSelection ( ) const
inlineinherited

◆ GetMirror()

bool PCB_PLOT_PARAMS::GetMirror ( ) const
inlineinherited

◆ GetNegative()

bool PCB_PLOT_PARAMS::GetNegative ( ) const
inlineinherited

Definition at line 114 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_negative.

Referenced by DIALOG_PLOT::init_Dialog(), and StartPlotBoard().

◆ GetOutputDirectory()

◆ GetPlotFPText()

bool PCB_PLOT_PARAMS::GetPlotFPText ( ) const
inlineinherited

◆ GetPlotFrameRef()

bool PCB_PLOT_PARAMS::GetPlotFrameRef ( ) const
inlineinherited

Definition at line 120 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_plotDrawingSheet.

Referenced by DIALOG_PLOT::init_Dialog(), and StartPlotBoard().

◆ GetPlotInvisibleText()

bool PCB_PLOT_PARAMS::GetPlotInvisibleText ( ) const
inlineinherited

◆ GetPlotMode()

OUTLINE_MODE PCB_PLOT_PARAMS::GetPlotMode ( ) const
inlineinherited

◆ GetPlotOnAllLayersSelection()

LSET PCB_PLOT_PARAMS::GetPlotOnAllLayersSelection ( ) const
inlineinherited

◆ GetPlotReference()

bool PCB_PLOT_PARAMS::GetPlotReference ( ) const
inlineinherited

◆ GetPlotValue()

bool PCB_PLOT_PARAMS::GetPlotValue ( ) const
inlineinherited

◆ GetPlotViaOnMaskLayer()

bool PCB_PLOT_PARAMS::GetPlotViaOnMaskLayer ( ) const
inlineinherited

◆ GetScale()

double PCB_PLOT_PARAMS::GetScale ( ) const
inlineinherited

◆ GetScaleSelection()

int PCB_PLOT_PARAMS::GetScaleSelection ( ) const
inlineinherited

Definition at line 169 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_scaleSelection.

Referenced by DIALOG_PLOT::init_Dialog(), and DIALOG_PLOT::Plot().

◆ GetSketchPadLineWidth()

int PCB_PLOT_PARAMS::GetSketchPadLineWidth ( ) const
inlineinherited

Definition at line 102 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_sketchPadLineWidth.

Referenced by PlotPad().

◆ GetSketchPadsOnFabLayers()

bool PCB_PLOT_PARAMS::GetSketchPadsOnFabLayers ( ) const
inlineinherited

◆ GetSkipPlotNPTH_Pads()

bool PCB_PLOT_PARAMS::GetSkipPlotNPTH_Pads ( ) const
inlineinherited

Definition at line 42 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_skipNPTH_Pads.

Referenced by PlotStandardLayer().

◆ GetSubtractMaskFromSilk()

bool PCB_PLOT_PARAMS::GetSubtractMaskFromSilk ( ) const
inlineinherited

◆ GetSvgPrecision()

unsigned PCB_PLOT_PARAMS::GetSvgPrecision ( ) const
inlineinherited

Definition at line 147 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_svgPrecision.

Referenced by DIALOG_PLOT::init_Dialog(), and initializePlotter().

◆ GetTextMode()

PLOT_TEXT_MODE PCB_PLOT_PARAMS::GetTextMode ( ) const
inlineinherited

◆ GetUseAuxOrigin()

◆ GetUseGerberProtelExtensions()

bool PCB_PLOT_PARAMS::GetUseGerberProtelExtensions ( ) const
inlineinherited

◆ GetUseGerberX2format()

bool PCB_PLOT_PARAMS::GetUseGerberX2format ( ) const
inlineinherited

◆ GetWidthAdjust()

int PCB_PLOT_PARAMS::GetWidthAdjust ( ) const
inlineinherited

Definition at line 91 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_widthAdjust.

Referenced by getFineWidthAdj().

◆ IsSameAs()

bool PCB_PLOT_PARAMS::IsSameAs ( const PCB_PLOT_PARAMS aPcbPlotParams) const
inherited

Compare current settings to aPcbPlotParams, including not saved parameters in brd file.

Parameters
aPcbPlotParamsis the PCB_PLOT_PARAMS to compare/
aCompareOnlySavedPrmsset to true to compare only saved in file parameters, or false to compare the full set of parameters.
Returns
true is parameters are same, false if one (or more) parameter does not match.

Definition at line 270 of file pcb_plot_params.cpp.

References PCB_PLOT_PARAMS::m_A4Output, PCB_PLOT_PARAMS::m_autoScale, PCB_PLOT_PARAMS::m_blackAndWhite, PCB_PLOT_PARAMS::m_createGerberJobFile, PCB_PLOT_PARAMS::m_dashedLineDashRatio, PCB_PLOT_PARAMS::m_dashedLineGapRatio, PCB_PLOT_PARAMS::m_drillMarks, PCB_PLOT_PARAMS::m_DXFPolygonMode, PCB_PLOT_PARAMS::m_DXFUnits, PCB_PLOT_PARAMS::m_fineScaleAdjustX, PCB_PLOT_PARAMS::m_fineScaleAdjustY, PCB_PLOT_PARAMS::m_format, PCB_PLOT_PARAMS::m_gerberDisableApertMacros, PCB_PLOT_PARAMS::m_gerberPrecision, PCB_PLOT_PARAMS::m_HPGLPenDiam, PCB_PLOT_PARAMS::m_HPGLPenNum, PCB_PLOT_PARAMS::m_HPGLPenSpeed, PCB_PLOT_PARAMS::m_includeGerberNetlistInfo, PCB_PLOT_PARAMS::m_layerSelection, PCB_PLOT_PARAMS::m_mirror, PCB_PLOT_PARAMS::m_negative, PCB_PLOT_PARAMS::m_outputDirectory, PCB_PLOT_PARAMS::m_PDFBackFPPropertyPopups, PCB_PLOT_PARAMS::m_PDFFrontFPPropertyPopups, PCB_PLOT_PARAMS::m_PDFMetadata, PCB_PLOT_PARAMS::m_plotDrawingSheet, PCB_PLOT_PARAMS::m_plotFPText, PCB_PLOT_PARAMS::m_plotInvisibleText, PCB_PLOT_PARAMS::m_plotMode, PCB_PLOT_PARAMS::m_plotOnAllLayersSelection, PCB_PLOT_PARAMS::m_plotReference, PCB_PLOT_PARAMS::m_plotValue, PCB_PLOT_PARAMS::m_plotViaOnMaskLayer, PCB_PLOT_PARAMS::m_scale, PCB_PLOT_PARAMS::m_scaleSelection, PCB_PLOT_PARAMS::m_sketchPadsOnFabLayers, PCB_PLOT_PARAMS::m_subtractMaskFromSilk, PCB_PLOT_PARAMS::m_svgPrecision, PCB_PLOT_PARAMS::m_textMode, PCB_PLOT_PARAMS::m_useAuxOrigin, PCB_PLOT_PARAMS::m_useGerberProtelExtensions, PCB_PLOT_PARAMS::m_useGerberX2format, and PCB_PLOT_PARAMS::m_widthAdjust.

Referenced by DIALOG_PLOT::applyPlotSettings(), and DIALOG_GENDRILL::UpdateDrillParams().

◆ Parse()

void PCB_PLOT_PARAMS::Parse ( PCB_PLOT_PARAMS_PARSER aParser)
inherited

◆ PlotBoardGraphicItem()

◆ PlotDimension()

◆ PlotDrillMarks()

void BRDITEMS_PLOTTER::PlotDrillMarks ( )

Draw a drill mark for pads and vias.

Must be called after all drawings, because it redraws the drill mark on a pad or via, as a negative (i.e. white) shape in FILLED plot mode (for PS and PDF outputs).

Definition at line 1044 of file plot_brditems_plotter.cpp.

References ANGLE_0, BLACK, FILLED, BOARD::Footprints(), ADVANCED_CFG::GetCfg(), PCB_PLOT_PARAMS::GetDrillMarksType(), PCB_PLOT_PARAMS::GetPlotMode(), m_board, m_layerMask, m_plotter, EDA_IU_SCALE::mmToIU(), pad, PAD_DRILL_SHAPE_CIRCLE, PCB_VIA_T, pcbIUScale, plotOneDrillMark(), PLOTTER::SetColor(), BOARD::Tracks(), via, and WHITE.

Referenced by PlotStandardLayer().

◆ PlotFootprintGraphicItems()

◆ PlotFootprintTextItems()

◆ plotOneDrillMark()

void BRDITEMS_PLOTTER::plotOneDrillMark ( PAD_DRILL_SHAPE_T  aDrillShape,
const VECTOR2I aDrillPos,
const VECTOR2I aDrillSize,
const VECTOR2I aPadSize,
const EDA_ANGLE aOrientation,
int  aSmallDrill 
)
private

Helper function to plot a single drill mark.

It compensate and clamp the drill mark size depending on the current plot options.

Definition at line 1016 of file plot_brditems_plotter.cpp.

References Clamp(), PLOTTER::FlashPadCircle(), PLOTTER::FlashPadOval(), getFineWidthAdj(), PCB_PLOT_PARAMS::GetPlotMode(), m_plotter, PAD_DRILL_SHAPE_CIRCLE, PAD_DRILL_SHAPE_OBLONG, VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by PlotDrillMarks().

◆ PlotPad()

void BRDITEMS_PLOTTER::PlotPad ( const PAD aPad,
const COLOR4D aColor,
OUTLINE_MODE  aPlotMode 
)

Plot a pad.

Unlike other items, a pad had not a specific color and be drawn as a non filled item although the plot mode is filled color and plot mode are needed by this function.

Definition at line 75 of file plot_brditems_plotter.cpp.

References LSET::AllCuMask(), ERROR_INSIDE, LSET::ExternalCuMask(), GERBER_PLOTTER::FlashPadChamferRoundRect(), PLOTTER::FlashPadCircle(), PLOTTER::FlashPadCustom(), PLOTTER::FlashPadOval(), PLOTTER::FlashPadRect(), PLOTTER::FlashPadRoundRect(), PLOTTER::FlashPadTrapez(), GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_BGAPAD_CUDEF, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_CASTELLATEDPAD, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_COMPONENTPAD, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_CONDUCTOR, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_CONNECTORPAD, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_FIDUCIAL_GLBL, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_FIDUCIAL_LOCAL, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_HEATSINKPAD, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_SMDPAD_CUDEF, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_TESTPOINT, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_WASHERPAD, GBR_NETINFO_ALL, GBR_NETLIST_METADATA::GBR_NETINFO_CMP, GBR_NETLIST_METADATA::GBR_NETINFO_NET, PAD::GetAttribute(), PAD::GetChamferPositions(), PAD::GetChamferRectRatio(), PAD::GetDelta(), PAD::GetEffectivePolygon(), BOARD_CONNECTED_ITEM::GetNetname(), PAD::GetNumber(), PAD::GetOrientation(), BOARD_ITEM::GetParentFootprint(), PAD::GetPinFunction(), PLOTTER::GetPlotterType(), PAD::GetProperty(), FOOTPRINT::GetReference(), PAD::GetRoundRectCornerRadius(), PAD::GetShape(), PAD::GetSize(), PCB_PLOT_PARAMS::GetSketchPadLineWidth(), KI_FALLTHROUGH, LIGHTGRAY, m_layerMask, GBR_METADATA::m_NetlistMetadata, GBR_NETLIST_METADATA::m_NotInNet, m_plotter, GBR_METADATA::SetApertureAttrib(), GBR_METADATA::SetCmpReference(), PLOTTER::SetColor(), GBR_METADATA::SetCopper(), PLOTTER::SetCurrentLineWidth(), GBR_METADATA::SetNetAttribType(), GBR_METADATA::SetNetName(), GBR_METADATA::SetPadName(), GBR_METADATA::SetPadPinFunction(), PAD::ShapePos(), SKETCH, WHITE, VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by PlotStandardLayer().

◆ PlotPcbTarget()

◆ PlotShape()

void BRDITEMS_PLOTTER::PlotShape ( const PCB_SHAPE aShape)

Definition at line 708 of file plot_brditems_plotter.cpp.

References std::abs(), SHAPE_LINE_CHAIN::Append(), EDA_ANGLE::AsDegrees(), PLOTTER::BezierCurve(), SHAPE_POLY_SET::CIterateSegments(), SHAPE_POLY_SET::CloneDropTriangulation(), Edge_Cuts, PLOTTER::FilledCircle(), SHAPE_POLY_SET::Fracture(), GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_CONDUCTOR, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_EDGECUT, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_ETCHEDCMP, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_NONCONDUCTOR, GBR_NETLIST_METADATA::GBR_NETINFO_CMP, GBR_NETLIST_METADATA::GBR_NETINFO_NET, EDA_SHAPE::GetArcAngle(), EDA_SHAPE::GetBezierC1(), EDA_SHAPE::GetBezierC2(), PCB_SHAPE::GetCenter(), getColor(), EDA_SHAPE::GetEnd(), PCB_SHAPE::GetLayer(), STROKE_PARAMS::GetLineStyle(), BOARD_CONNECTED_ITEM::GetNetCode(), BOARD_CONNECTED_ITEM::GetNetname(), BOARD_ITEM::GetParentFootprint(), PCB_PLOT_PARAMS::GetPlotMode(), PLOTTER::GetPlotterType(), EDA_SHAPE::GetPolyShape(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetRectCorners(), FOOTPRINT::GetReference(), EDA_SHAPE::GetShape(), EDA_SHAPE::GetStart(), PCB_SHAPE::GetStroke(), PCB_SHAPE::GetWidth(), IsCopperLayer(), EDA_SHAPE::IsFilled(), EDA_SHAPE::IsPolyShapeValid(), m_layerMask, m_plotter, EDA_SHAPE::MakeEffectiveShapes(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), PLOTTER::PlotPoly(), SHAPE_POLY_SET::PM_FAST, PLOTTER::RenderSettings(), GBR_METADATA::SetApertureAttrib(), SHAPE_LINE_CHAIN::SetClosed(), GBR_METADATA::SetCmpReference(), PLOTTER::SetColor(), GBR_METADATA::SetCopper(), PLOTTER::SetCurrentLineWidth(), GBR_METADATA::SetNetAttribType(), GBR_METADATA::SetNetName(), EDA_SHAPE::SHAPE_T_asString(), SKETCH, STROKE_PARAMS::Stroke(), PLOTTER::ThickArc(), PLOTTER::ThickCircle(), PLOTTER::ThickSegment(), and UNIMPLEMENTED_FOR.

Referenced by PLACEFILE_GERBER_WRITER::CreatePlaceFile(), GENDRILL_WRITER_BASE::genDrillMapFile(), PlotBoardGraphicItem(), PlotDimension(), PlotFootprintGraphicItems(), and PlotPcbTarget().

◆ PlotTableBorders()

◆ PlotText()

◆ PlotZone()

◆ SetA4Output()

void PCB_PLOT_PARAMS::SetA4Output ( int  aForce)
inlineinherited

Definition at line 171 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_A4Output.

Referenced by DIALOG_PLOT::applyPlotSettings().

◆ SetAutoScale()

void PCB_PLOT_PARAMS::SetAutoScale ( bool  aFlag)
inlineinherited

Definition at line 93 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_autoScale.

Referenced by DIALOG_PLOT::Plot().

◆ SetBlackAndWhite()

void PCB_PLOT_PARAMS::SetBlackAndWhite ( bool  blackAndWhite)
inlineinherited

◆ SetColorSettings()

void PCB_PLOT_PARAMS::SetColorSettings ( COLOR_SETTINGS aSettings)
inlineinherited

◆ SetCreateGerberJobFile()

void PCB_PLOT_PARAMS::SetCreateGerberJobFile ( bool  aCreate)
inlineinherited

Definition at line 137 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_createGerberJobFile.

Referenced by DIALOG_PLOT::applyPlotSettings().

◆ SetDashedLineDashRatio()

void PCB_PLOT_PARAMS::SetDashedLineDashRatio ( double  aVal)
inlineinherited

Definition at line 186 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_dashedLineDashRatio.

◆ SetDashedLineGapRatio()

void PCB_PLOT_PARAMS::SetDashedLineGapRatio ( double  aVal)
inlineinherited

Definition at line 189 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_dashedLineGapRatio.

◆ SetDisableGerberMacros()

void PCB_PLOT_PARAMS::SetDisableGerberMacros ( bool  aDisable)
inlineinherited

◆ SetDrillMarksType()

◆ SetDXFPlotPolygonMode()

void PCB_PLOT_PARAMS::SetDXFPlotPolygonMode ( bool  aFlag)
inlineinherited

◆ SetDXFPlotUnits()

void PCB_PLOT_PARAMS::SetDXFPlotUnits ( DXF_UNITS  aUnit)
inlineinherited

◆ SetFineScaleAdjustX()

void PCB_PLOT_PARAMS::SetFineScaleAdjustX ( double  aVal)
inlineinherited

Definition at line 86 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_fineScaleAdjustX.

Referenced by DIALOG_PLOT::Plot().

◆ SetFineScaleAdjustY()

void PCB_PLOT_PARAMS::SetFineScaleAdjustY ( double  aVal)
inlineinherited

Definition at line 88 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_fineScaleAdjustY.

Referenced by DIALOG_PLOT::Plot().

◆ SetFormat()

◆ SetGerberPrecision()

void PCB_PLOT_PARAMS::SetGerberPrecision ( int  aPrecision)
inherited

◆ SetHPGLPenDiameter()

bool PCB_PLOT_PARAMS::SetHPGLPenDiameter ( double  aValue)
inherited

◆ SetHPGLPenNum()

void PCB_PLOT_PARAMS::SetHPGLPenNum ( int  aVal)
inlineinherited

Definition at line 183 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_HPGLPenNum.

◆ SetHPGLPenSpeed()

bool PCB_PLOT_PARAMS::SetHPGLPenSpeed ( int  aValue)
inherited

◆ SetIncludeGerberNetlistInfo()

void PCB_PLOT_PARAMS::SetIncludeGerberNetlistInfo ( bool  aUse)
inlineinherited

◆ SetLayerSelection()

void PCB_PLOT_PARAMS::SetLayerSelection ( LSET  aSelection)
inlineinherited

◆ SetLayerSet()

void BRDITEMS_PLOTTER::SetLayerSet ( LSET  aLayerMask)
inline

◆ SetMirror()

void PCB_PLOT_PARAMS::SetMirror ( bool  aFlag)
inlineinherited

◆ SetNegative()

void PCB_PLOT_PARAMS::SetNegative ( bool  aFlag)
inlineinherited

◆ SetOutputDirectory()

void PCB_PLOT_PARAMS::SetOutputDirectory ( const wxString &  aDir)
inlineinherited

◆ SetPlotFPText()

void PCB_PLOT_PARAMS::SetPlotFPText ( bool  aFlag)
inlineinherited

Definition at line 110 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_plotFPText.

Referenced by DIALOG_PLOT::applyPlotSettings().

◆ SetPlotFrameRef()

◆ SetPlotInvisibleText()

void PCB_PLOT_PARAMS::SetPlotInvisibleText ( bool  aFlag)
inlineinherited

Definition at line 104 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_plotInvisibleText.

Referenced by DIALOG_PLOT::applyPlotSettings().

◆ SetPlotMode()

void PCB_PLOT_PARAMS::SetPlotMode ( OUTLINE_MODE  aPlotMode)
inlineinherited

◆ SetPlotOnAllLayersSelection()

void PCB_PLOT_PARAMS::SetPlotOnAllLayersSelection ( LSET  aSelection)
inlineinherited

◆ SetPlotReference()

void PCB_PLOT_PARAMS::SetPlotReference ( bool  aFlag)
inlineinherited

◆ SetPlotValue()

void PCB_PLOT_PARAMS::SetPlotValue ( bool  aFlag)
inlineinherited

◆ SetPlotViaOnMaskLayer()

void PCB_PLOT_PARAMS::SetPlotViaOnMaskLayer ( bool  aFlag)
inlineinherited

◆ SetScale()

void PCB_PLOT_PARAMS::SetScale ( double  aVal)
inlineinherited

Definition at line 83 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_scale.

Referenced by DIALOG_PLOT::Plot().

◆ SetScaleSelection()

void PCB_PLOT_PARAMS::SetScaleSelection ( int  aSelection)
inlineinherited

Definition at line 168 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_scaleSelection.

Referenced by DIALOG_PLOT::applyPlotSettings().

◆ SetSketchPadLineWidth()

void PCB_PLOT_PARAMS::SetSketchPadLineWidth ( int  aWidth)
inlineinherited

Definition at line 101 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_sketchPadLineWidth.

Referenced by DIALOG_PLOT::Plot().

◆ SetSketchPadsOnFabLayers()

void PCB_PLOT_PARAMS::SetSketchPadsOnFabLayers ( bool  aFlag)
inlineinherited

◆ SetSkipPlotNPTH_Pads()

void PCB_PLOT_PARAMS::SetSkipPlotNPTH_Pads ( bool  aSkip)
inlineinherited

Definition at line 41 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_skipNPTH_Pads.

Referenced by EXPORT_SVG::Plot(), and PlotOneBoardLayer().

◆ SetSubtractMaskFromSilk()

void PCB_PLOT_PARAMS::SetSubtractMaskFromSilk ( bool  aSubtract)
inlineinherited

◆ SetSvgPrecision()

void PCB_PLOT_PARAMS::SetSvgPrecision ( unsigned  aPrecision)
inherited

◆ SetTextMode()

void PCB_PLOT_PARAMS::SetTextMode ( PLOT_TEXT_MODE  aVal)
inlineinherited

Definition at line 61 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_textMode.

Referenced by DIALOG_PLOT::applyPlotSettings().

◆ SetUseAuxOrigin()

void PCB_PLOT_PARAMS::SetUseAuxOrigin ( bool  aAux)
inlineinherited

◆ SetUseGerberProtelExtensions()

void PCB_PLOT_PARAMS::SetUseGerberProtelExtensions ( bool  aUse)
inlineinherited

◆ SetUseGerberX2format()

void PCB_PLOT_PARAMS::SetUseGerberX2format ( bool  aUse)
inlineinherited

◆ SetWidthAdjust()

void PCB_PLOT_PARAMS::SetWidthAdjust ( int  aVal)
inlineinherited

Definition at line 90 of file pcb_plot_params.h.

References PCB_PLOT_PARAMS::m_widthAdjust.

Referenced by DIALOG_PLOT::Plot().

Member Data Documentation

◆ m_A4Output

bool PCB_PLOT_PARAMS::m_A4Output
privateinherited

In polygon mode, each item to plot is converted to a polygon and all polygons are merged.

Definition at line 214 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetA4Output(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetA4Output().

◆ m_autoScale

bool PCB_PLOT_PARAMS::m_autoScale
privateinherited

Autoscale the plot to fit an A4 (landscape?) sheet.

Definition at line 215 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::GetAutoScale(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetAutoScale().

◆ m_blackAndWhite

bool PCB_PLOT_PARAMS::m_blackAndWhite
privateinherited

Plot in negative color (supported only by some drivers)

Definition at line 220 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::GetBlackAndWhite(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetBlackAndWhite().

◆ m_board

BOARD* BRDITEMS_PLOTTER::m_board
private

Definition at line 139 of file pcbplot.h.

Referenced by PlotDrillMarks(), and PlotText().

◆ m_colors

COLOR_SETTINGS* PCB_PLOT_PARAMS::m_colors
privateinherited

◆ m_createGerberJobFile

bool PCB_PLOT_PARAMS::m_createGerberJobFile
privateinherited

◆ m_dashedLineDashRatio

◆ m_dashedLineGapRatio

◆ m_default_colors

std::shared_ptr<COLOR_SETTINGS> PCB_PLOT_PARAMS::m_default_colors
privateinherited

Pointer to color settings to be used for plotting.

Dummy colors object that can be created if there is no Pgm context

Definition at line 295 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::PCB_PLOT_PARAMS().

◆ m_drillMarks

◆ m_DXFPolygonMode

◆ m_DXFUnits

◆ m_fineScaleAdjustX

double PCB_PLOT_PARAMS::m_fineScaleAdjustX
privateinherited

Compensation for printer scale errors (and therefore.

Definition at line 272 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::GetFineScaleAdjustX(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetFineScaleAdjustX().

◆ m_fineScaleAdjustY

double PCB_PLOT_PARAMS::m_fineScaleAdjustY
privateinherited

expected to be very near 1.0).

Only X and Y dimensions are adjusted: circles are plotted as circles, even if X and Y fine scale differ. Because of this it is mostly useful for printers: postscript plots should use the prologue, which will change the whole output matrix.

Definition at line 273 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::GetFineScaleAdjustY(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetFineScaleAdjustY().

◆ m_format

◆ m_gerberDisableApertMacros

bool PCB_PLOT_PARAMS::m_gerberDisableApertMacros
privateinherited

Disable aperture macros in Gerber format (only for broken Gerber readers).

Ideally, should be never selected.

Definition at line 239 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetDisableGerberMacros(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetDisableGerberMacros().

◆ m_gerberPrecision

int PCB_PLOT_PARAMS::m_gerberPrecision
privateinherited

Precision of coordinates in Gerber: accepted 5 or 6 when units are in mm, 6 or 7 in inches (but Pcbnew uses mm).

6 is the internal resolution of Pcbnew, but not always accepted by board maker 5 is the minimal value for professional boards

Definition at line 251 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetGerberPrecision(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetGerberPrecision().

◆ m_HPGLPenDiam

double PCB_PLOT_PARAMS::m_HPGLPenDiam
privateinherited

HPGL only: pen diameter in MILS, useful to fill areas However, it is in mm in hpgl files.

Definition at line 286 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetHPGLPenDiameter(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetHPGLPenDiameter().

◆ m_HPGLPenNum

int PCB_PLOT_PARAMS::m_HPGLPenNum
privateinherited

◆ m_HPGLPenSpeed

int PCB_PLOT_PARAMS::m_HPGLPenSpeed
privateinherited

◆ m_includeGerberNetlistInfo

bool PCB_PLOT_PARAMS::m_includeGerberNetlistInfo
privateinherited

◆ m_layerMask

LSET BRDITEMS_PLOTTER::m_layerMask
private

◆ m_layerSelection

LSET PCB_PLOT_PARAMS::m_layerSelection
privateinherited

◆ m_mirror

bool PCB_PLOT_PARAMS::m_mirror
privateinherited

◆ m_negative

bool PCB_PLOT_PARAMS::m_negative
privateinherited

◆ m_outputDirectory

wxString PCB_PLOT_PARAMS::m_outputDirectory
privateinherited

◆ m_PDFBackFPPropertyPopups

bool PCB_PLOT_PARAMS::m_PDFBackFPPropertyPopups
inherited

◆ m_PDFFrontFPPropertyPopups

bool PCB_PLOT_PARAMS::m_PDFFrontFPPropertyPopups
inherited

◆ m_PDFMetadata

bool PCB_PLOT_PARAMS::m_PDFMetadata
inherited

◆ m_plotDrawingSheet

bool PCB_PLOT_PARAMS::m_plotDrawingSheet
privateinherited

◆ m_plotFPText

◆ m_plotInvisibleText

bool PCB_PLOT_PARAMS::m_plotInvisibleText
privateinherited

◆ m_plotMode

OUTLINE_MODE PCB_PLOT_PARAMS::m_plotMode
privateinherited

Used to disable NPTH pads plotting on copper layers.

Definition at line 205 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::GetPlotMode(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetPlotMode().

◆ m_plotOnAllLayersSelection

◆ m_plotReference

bool PCB_PLOT_PARAMS::m_plotReference
privateinherited

◆ m_plotter

◆ m_plotValue

bool PCB_PLOT_PARAMS::m_plotValue
privateinherited

◆ m_plotViaOnMaskLayer

◆ m_scale

double PCB_PLOT_PARAMS::m_scale
privateinherited

When true set the scale to fit the board in the page.

Definition at line 216 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::GetScale(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetScale().

◆ m_scaleSelection

int PCB_PLOT_PARAMS::m_scaleSelection
privateinherited

◆ m_sketchPadLineWidth

int PCB_PLOT_PARAMS::m_sketchPadLineWidth
privateinherited

◆ m_sketchPadsOnFabLayers

bool PCB_PLOT_PARAMS::m_sketchPadsOnFabLayers
privateinherited

◆ m_skipNPTH_Pads

bool PCB_PLOT_PARAMS::m_skipNPTH_Pads
privateinherited

◆ m_subtractMaskFromSilk

bool PCB_PLOT_PARAMS::m_subtractMaskFromSilk
privateinherited

◆ m_svgPrecision

unsigned PCB_PLOT_PARAMS::m_svgPrecision
privateinherited

Precision of coordinates in SVG: accepted 3 - 6; 6 is the internal resolution of Pcbnew.

Definition at line 254 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetSvgPrecision(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetSvgPrecision().

◆ m_textMode

PLOT_TEXT_MODE PCB_PLOT_PARAMS::m_textMode
privateinherited

Holes can be not plotted, have a small mark, or be plotted in actual size.

Definition at line 208 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetTextMode(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetTextMode().

◆ m_useAuxOrigin

bool PCB_PLOT_PARAMS::m_useAuxOrigin
privateinherited

Plot gerbers using auxiliary (drill) origin instead of absolute coordinates.

Definition at line 256 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetUseAuxOrigin(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetUseAuxOrigin().

◆ m_useGerberProtelExtensions

bool PCB_PLOT_PARAMS::m_useGerberProtelExtensions
privateinherited

On gerbers 'scrape' away the solder mask from silkscreen (trim silks)

When plotting gerber files, use a conventional set of Protel extensions instead of .gbr, that is now the official gerber file extension (this is a deprecated feature)

Definition at line 232 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetUseGerberProtelExtensions(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetUseGerberProtelExtensions().

◆ m_useGerberX2format

bool PCB_PLOT_PARAMS::m_useGerberX2format
privateinherited

Include attributes from the Gerber X2 format (chapter 5 in revision J2)

Definition at line 235 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::GetUseGerberX2format(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetUseGerberX2format().

◆ m_widthAdjust

int PCB_PLOT_PARAMS::m_widthAdjust
privateinherited

Compensation for PS printers/plotters that do not strictly obey line width settings.

Only used to plot pads and tracks.

Definition at line 280 of file pcb_plot_params.h.

Referenced by PCB_PLOT_PARAMS::GetWidthAdjust(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetWidthAdjust().


The documentation for this class was generated from the following files: