KiCad PCB EDA Suite
|
#include <pcbplot.h>
Public Member Functions | |
BRDITEMS_PLOTTER (PLOTTER *aPlotter, BOARD *aBoard, const PCB_PLOT_PARAMS &aPlotOpts) | |
int | getFineWidthAdj () const |
void | SetLayerSet (const 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, bool aStrikeout=false) |
void | PlotShape (const PCB_SHAPE *aShape) |
void | PlotTableBorders (const PCB_TABLE *aTable) |
void | PlotPad (const PAD *aPad, PCB_LAYER_ID aLayer, const COLOR4D &aColor, bool aSketchMode) |
Plot a pad. | |
void | PlotPadNumber (const PAD *aPad, const COLOR4D &aColor) |
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) 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_SETTINGS * | ColorSettings () const |
void | SetTextMode (PLOT_TEXT_MODE aVal) |
PLOT_TEXT_MODE | GetTextMode () const override |
void | SetDXFPlotMode (DXF_OUTLINE_MODE aPlotMode) |
DXF_OUTLINE_MODE | GetDXFPlotMode () const override |
void | SetPlotPadNumbers (bool aFlag) |
bool | GetPlotPadNumbers () 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 | SetHideDNPFPsOnFabLayers (bool aFlag) |
bool | GetHideDNPFPsOnFabLayers () const |
void | SetSketchDNPFPsOnFabLayers (bool aFlag) |
bool | GetSketchDNPFPsOnFabLayers () const |
void | SetCrossoutDNPFPsOnFabLayers (bool aFlag) |
bool | GetCrossoutDNPFPsOnFabLayers () 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 |
std::optional< bool > | GetLegacyPlotViaOnMaskLayer () 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 | SetSvgFitPageToBoard (int aSvgFitPageToBoard) |
bool | GetSvgFitPagetoBoard () const |
void | SetBlackAndWhite (bool blackAndWhite) |
bool | GetBlackAndWhite () const |
void | SetSubtractMaskFromSilk (bool aSubtract) |
bool | GetSubtractMaskFromSilk () const |
void | SetLayerSelection (const LSET &aSelection) |
LSET | GetLayerSelection () const |
void | SetPlotOnAllLayersSequence (LSEQ aSeq) |
LSEQ | GetPlotOnAllLayersSequence () const |
void | SetUseAuxOrigin (bool aAux) |
bool | GetUseAuxOrigin () const |
void | SetScaleSelection (int aSelection) |
int | GetScaleSelection () const |
void | SetA4Output (int aForce) |
bool | GetA4Output () const |
void | SetDashedLineDashRatio (double aVal) |
double | GetDashedLineDashRatio () const |
void | SetDashedLineGapRatio (double aVal) |
double | GetDashedLineGapRatio () const |
void | SetPDFBackgroundColor (const COLOR4D &aColor) |
COLOR4D | GetPDFBackgroundColor () 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. | |
bool | m_PDFSingle |
Generate a single PDF file for all layers. | |
COLOR4D | m_PDFBackgroundColor |
Background color to use if m_PDFUseBackgroundColor is true. | |
Private Member Functions | |
bool | hideDNPItems (PCB_LAYER_ID aLayer) |
bool | crossoutDNPItems (PCB_LAYER_ID aLayer) |
void | plotOneDrillMark (PAD_DRILL_SHAPE 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 | |
PLOTTER * | m_plotter |
BOARD * | m_board |
LSET | m_layerMask |
PLOT_FORMAT | m_format |
LSET | m_layerSelection |
Plot format type (chooses the driver to be used) | |
LSEQ | m_plotOnAllLayersSequence |
bool | m_skipNPTH_Pads |
bool | m_plotPadNumbers |
Used to disable NPTH pads plotting on copper layers. | |
DRILL_MARKS | m_drillMarks |
Plot pad numbers when sketching pads on fab layers. | |
PLOT_TEXT_MODE | m_textMode |
Holes can be not plotted, have a small mark, or be plotted in actual size. | |
DXF_OUTLINE_MODE | m_DXFPlotMode |
DXF_UNITS | m_DXFUnits |
FILLED or SKETCH for filled objects. | |
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. | |
std::optional< bool > | m_plotViaOnMaskLayer |
bool | m_subtractMaskFromSilk |
Deprecated; only used for reading legacy files. | |
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_svgFitPageToBoard |
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_sketchPadsOnFabLayers |
Plots pads outlines on fab layers. | |
int | m_sketchPadLineWidth |
bool | m_hideDNPFPsOnFabLayers |
bool | m_sketchDNPFPsOnFabLayers |
bool | m_crossoutDNPFPsOnFabLayers |
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. | |
double | m_dashedLineDashRatio |
double | m_dashedLineGapRatio |
COLOR_SETTINGS * | m_colors |
std::shared_ptr< COLOR_SETTINGS > | m_default_colors |
Pointer to color settings to be used for plotting. | |
|
inline |
Definition at line 66 of file pcbplot.h.
References m_board, m_plotter, and PCB_PLOT_PARAMS::PCB_PLOT_PARAMS().
|
inlineinherited |
Definition at line 60 of file pcb_plot_params.h.
References m_colors.
Referenced by BRDITEMS_PLOTTER::getColor(), BRDITEMS_PLOTTER::PlotDimension(), PlotStandardLayer(), and StartPlotBoard().
|
inlineprivate |
Definition at line 138 of file pcbplot.h.
References B_Fab, F_Fab, and PCB_PLOT_PARAMS::GetCrossoutDNPFPsOnFabLayers().
Referenced by PlotFootprintTextItems().
|
inherited |
Definition at line 140 of file pcb_plot_params.cpp.
References BASE_SET::FmtHex(), KICAD_FORMAT::FormatBool(), FormatDouble2Str(), gbrDefaultPrecision, GetCreateGerberJobFile(), GetDashedLineDashRatio(), GetDashedLineGapRatio(), GetDXFPlotMode(), GetIncludeGerberNetlistInfo(), getTokenName(), GetUseGerberX2format(), INCH, m_A4Output, m_blackAndWhite, m_crossoutDNPFPsOnFabLayers, m_drillMarks, m_DXFPolygonMode, m_DXFUnits, m_format, m_gerberDisableApertMacros, m_gerberPrecision, m_hideDNPFPsOnFabLayers, m_layerSelection, m_mirror, m_negative, m_outputDirectory, m_PDFBackFPPropertyPopups, m_PDFFrontFPPropertyPopups, m_PDFMetadata, m_PDFSingle, m_plotDrawingSheet, m_plotOnAllLayersSequence, m_plotPadNumbers, m_scaleSelection, m_sketchDNPFPsOnFabLayers, m_sketchPadsOnFabLayers, m_subtractMaskFromSilk, m_svgPrecision, m_textMode, m_useAuxOrigin, m_useGerberProtelExtensions, NATIVE, OUTPUTFORMATTER::Print(), OUTPUTFORMATTER::Quotew(), BASE_SET::set(), and SKETCH.
Referenced by PCB_IO_KICAD_SEXPR::formatSetup().
|
inlineinherited |
Definition at line 179 of file pcb_plot_params.h.
References m_A4Output.
Referenced by initializePlotter().
|
inlineinherited |
Definition at line 98 of file pcb_plot_params.h.
References m_autoScale.
Referenced by initializePlotter(), setupPlotterNewPDFPage(), and StartPlotBoard().
|
inlineinherited |
Definition at line 161 of file pcb_plot_params.h.
References m_blackAndWhite.
Referenced by initializePlotter(), and PCB_PLOTTER::PlotJobToPlotOpts().
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.
aLayer | is the layer id. |
Definition at line 67 of file plot_brditems_plotter.cpp.
References color, PCB_PLOT_PARAMS::ColorSettings(), COLOR_SETTINGS::GetColor(), LIGHTGRAY, and COLOR4D::WHITE.
Referenced by PlotPcbTarget(), PlotShape(), PlotStandardLayer(), PlotText(), and PlotZone().
|
inlineinherited |
Definition at line 146 of file pcb_plot_params.h.
References m_createGerberJobFile.
Referenced by Format().
|
inlineinherited |
Definition at line 113 of file pcb_plot_params.h.
References m_crossoutDNPFPsOnFabLayers.
Referenced by BRDITEMS_PLOTTER::crossoutDNPItems(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 182 of file pcb_plot_params.h.
References m_dashedLineDashRatio.
Referenced by BOARD_ADAPTER::addShape(), EXPORTER_STEP::buildGraphic3DShape(), Format(), and PANEL_SETUP_FORMATTING::ImportSettingsFrom().
|
inlineinherited |
Definition at line 185 of file pcb_plot_params.h.
References m_dashedLineGapRatio.
Referenced by BOARD_ADAPTER::addShape(), EXPORTER_STEP::buildGraphic3DShape(), Format(), and PANEL_SETUP_FORMATTING::ImportSettingsFrom().
|
inlineinherited |
Definition at line 137 of file pcb_plot_params.h.
References m_gerberDisableApertMacros.
Referenced by StartPlotBoard().
|
inlineinherited |
Definition at line 85 of file pcb_plot_params.h.
References m_drillMarks.
Referenced by PlotBoardLayers(), BRDITEMS_PLOTTER::PlotDrillMarks(), PlotLayerOutlines(), and PlotStandardLayer().
|
inlineoverridevirtualinherited |
Reimplemented from PLOT_PARAMS.
Definition at line 73 of file pcb_plot_params.h.
References m_DXFPlotMode.
Referenced by Format(), BRDITEMS_PLOTTER::PlotDrillMarks(), BRDITEMS_PLOTTER::PlotShape(), and BRDITEMS_PLOTTER::PlotZone().
|
inlineinherited |
Definition at line 79 of file pcb_plot_params.h.
References m_DXFPolygonMode.
Referenced by PlotLayer().
|
inlineinherited |
Definition at line 82 of file pcb_plot_params.h.
References m_DXFUnits.
Referenced by StartPlotBoard().
|
inlineinherited |
Definition at line 91 of file pcb_plot_params.h.
References m_fineScaleAdjustX.
Referenced by StartPlotBoard().
|
inlineinherited |
Definition at line 93 of file pcb_plot_params.h.
References m_fineScaleAdjustY.
Referenced by StartPlotBoard().
|
inline |
Definition at line 77 of file pcbplot.h.
References PCB_PLOT_PARAMS::GetFormat(), PCB_PLOT_PARAMS::GetWidthAdjust(), and POST.
Referenced by plotOneDrillMark(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 131 of file pcb_plot_params.h.
References m_format.
Referenced by BRDITEMS_PLOTTER::getFineWidthAdj(), PlotLayer(), PlotOneBoardLayer(), and StartPlotBoard().
|
inlineinherited |
Definition at line 152 of file pcb_plot_params.h.
References m_gerberPrecision.
Referenced by initializePlotter().
|
inlineinherited |
Definition at line 109 of file pcb_plot_params.h.
References m_hideDNPFPsOnFabLayers.
Referenced by BRDITEMS_PLOTTER::hideDNPItems(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 143 of file pcb_plot_params.h.
References m_includeGerberNetlistInfo.
Referenced by Format(), and StartPlotBoard().
|
inlineinherited |
Definition at line 167 of file pcb_plot_params.h.
References m_layerSelection.
Referenced by BOARD_ADAPTER::GetVisibleLayers(), and PCBNEW_JOBS_HANDLER::JobExportGerbers().
|
inlineinherited |
Definition at line 125 of file pcb_plot_params.h.
References m_plotViaOnMaskLayer.
Referenced by PCB_IO_KICAD_LEGACY::loadSETUP(), and PCB_IO_KICAD_SEXPR_PARSER::parseSetup().
|
inlineinherited |
Definition at line 101 of file pcb_plot_params.h.
References m_mirror.
Referenced by initializePlotter(), setupPlotterNewPDFPage(), and StartPlotBoard().
|
inlineinherited |
Definition at line 123 of file pcb_plot_params.h.
References m_negative.
Referenced by StartPlotBoard().
|
inlineinherited |
Definition at line 134 of file pcb_plot_params.h.
References m_outputDirectory.
Referenced by PLOT_CONTROLLER::OpenPlotfile().
|
inlineinherited |
Definition at line 188 of file pcb_plot_params.h.
References m_PDFBackgroundColor.
Referenced by plotPdfBackground().
|
inlineinherited |
Definition at line 120 of file pcb_plot_params.h.
References m_plotFPText.
Referenced by BOARD_ADAPTER::GetVisibleLayers(), PlotClippedSilkLayer(), BRDITEMS_PLOTTER::PlotFootprintTextItems(), and PlotSolderMaskLayer().
|
inlineinherited |
Definition at line 128 of file pcb_plot_params.h.
References m_plotDrawingSheet.
Referenced by setupPlotterNewPDFPage(), and StartPlotBoard().
|
inlineinherited |
Definition at line 170 of file pcb_plot_params.h.
References m_plotOnAllLayersSequence.
Referenced by BOARD_ADAPTER::GetVisibleLayers(), and PCBNEW_JOBS_HANDLER::JobExportGerbers().
|
inlineinherited |
Definition at line 76 of file pcb_plot_params.h.
References m_plotPadNumbers.
Referenced by PlotStandardLayer().
|
inlineinherited |
Definition at line 118 of file pcb_plot_params.h.
References m_plotReference.
Referenced by BOARD_ADAPTER::GetVisibleLayers(), PlotClippedSilkLayer(), BRDITEMS_PLOTTER::PlotFootprintTextItems(), and PlotSolderMaskLayer().
|
inlineinherited |
Definition at line 116 of file pcb_plot_params.h.
References m_plotValue.
Referenced by BOARD_ADAPTER::GetVisibleLayers(), PlotClippedSilkLayer(), BRDITEMS_PLOTTER::PlotFootprintTextItems(), and PlotSolderMaskLayer().
|
inlineinherited |
Definition at line 88 of file pcb_plot_params.h.
References m_scale.
Referenced by initializePlotter(), setupPlotterNewPDFPage(), and StartPlotBoard().
|
inlineinherited |
Definition at line 176 of file pcb_plot_params.h.
References m_scaleSelection.
|
inlineinherited |
Definition at line 111 of file pcb_plot_params.h.
References m_sketchDNPFPsOnFabLayers.
Referenced by BRDITEMS_PLOTTER::PlotShape().
|
inlineinherited |
Definition at line 106 of file pcb_plot_params.h.
References m_sketchPadLineWidth.
Referenced by BRDITEMS_PLOTTER::PlotPad(), and BRDITEMS_PLOTTER::PlotShape().
|
inlineinherited |
Definition at line 104 of file pcb_plot_params.h.
References m_sketchPadsOnFabLayers.
Referenced by PCBNEW_JOBS_HANDLER::doFpExportSvg(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 43 of file pcb_plot_params.h.
References m_skipNPTH_Pads.
Referenced by PlotStandardLayer().
|
inlineinherited |
Definition at line 164 of file pcb_plot_params.h.
References m_subtractMaskFromSilk.
Referenced by PlotOneBoardLayer().
|
inlineinherited |
Definition at line 158 of file pcb_plot_params.h.
References m_svgFitPageToBoard.
|
inlineinherited |
Definition at line 155 of file pcb_plot_params.h.
References m_svgPrecision.
Referenced by initializePlotter().
|
inlineoverridevirtualinherited |
Reimplemented from PLOT_PARAMS.
Definition at line 67 of file pcb_plot_params.h.
References m_textMode.
Referenced by initializePlotter(), BRDITEMS_PLOTTER::PlotBoardGraphicItem(), BRDITEMS_PLOTTER::PlotFootprintGraphicItems(), and PlotOneBoardLayer().
|
inlineinherited |
Definition at line 173 of file pcb_plot_params.h.
References m_useAuxOrigin.
Referenced by AddGerberX2Header(), PLACEFILE_GERBER_WRITER::CreatePlaceFile(), and initializePlotter().
|
inlineinherited |
Definition at line 149 of file pcb_plot_params.h.
References m_useGerberProtelExtensions.
Referenced by PCBNEW_JOBS_HANDLER::JobExportGerbers().
|
inlineinherited |
Definition at line 140 of file pcb_plot_params.h.
References m_useGerberX2format.
Referenced by Format(), and StartPlotBoard().
|
inlineinherited |
Definition at line 95 of file pcb_plot_params.h.
References m_widthAdjust.
Referenced by BRDITEMS_PLOTTER::getFineWidthAdj().
|
inlineprivate |
Definition at line 133 of file pcbplot.h.
References B_Fab, F_Fab, and PCB_PLOT_PARAMS::GetHideDNPFPsOnFabLayers().
Referenced by PlotFootprintGraphicItems(), and PlotFootprintTextItems().
|
inherited |
Compare current settings to aPcbPlotParams, including not saved parameters in brd file.
aPcbPlotParams | is the PCB_PLOT_PARAMS to compare/ |
aCompareOnlySavedPrms | set to true to compare only saved in file parameters, or false to compare the full set of parameters. |
Definition at line 215 of file pcb_plot_params.cpp.
References m_A4Output, m_autoScale, m_blackAndWhite, m_createGerberJobFile, m_crossoutDNPFPsOnFabLayers, m_dashedLineDashRatio, m_dashedLineGapRatio, m_drillMarks, m_DXFPlotMode, m_DXFPolygonMode, m_DXFUnits, m_fineScaleAdjustX, m_fineScaleAdjustY, m_format, m_gerberDisableApertMacros, m_gerberPrecision, m_hideDNPFPsOnFabLayers, m_includeGerberNetlistInfo, m_layerSelection, m_mirror, m_negative, m_outputDirectory, m_PDFBackFPPropertyPopups, m_PDFFrontFPPropertyPopups, m_PDFMetadata, m_plotDrawingSheet, m_plotFPText, m_plotOnAllLayersSequence, m_plotPadNumbers, m_plotReference, m_plotValue, m_scale, m_scaleSelection, m_sketchDNPFPsOnFabLayers, m_sketchPadsOnFabLayers, m_subtractMaskFromSilk, m_svgPrecision, m_textMode, m_useAuxOrigin, m_useGerberProtelExtensions, m_useGerberX2format, m_widthAdjust, and PCB_PLOT_PARAMS().
|
inherited |
Definition at line 209 of file pcb_plot_params.cpp.
References PCB_PLOT_PARAMS_PARSER::Parse(), and PCB_PLOT_PARAMS_PARSER.
Referenced by PCB_IO_KICAD_LEGACY::loadSETUP(), and PCB_IO_KICAD_SEXPR_PARSER::parseSetup().
void BRDITEMS_PLOTTER::PlotBoardGraphicItem | ( | const BOARD_ITEM * | item | ) |
Plot items like text and graphics but not tracks and footprints.
Definition at line 482 of file plot_brditems_plotter.cpp.
References BOARD_ITEM::GetFontMetrics(), PCB_SHAPE::GetLayer(), PCB_PLOT_PARAMS::GetTextMode(), PCB_TEXTBOX::IsBorderEnabled(), BOARD_ITEM::IsKnockout(), m_plotter, PCB_DIM_ALIGNED_T, PCB_DIM_CENTER_T, PCB_DIM_LEADER_T, PCB_DIM_ORTHOGONAL_T, PCB_DIM_RADIAL_T, PCB_SHAPE_T, PCB_TABLE_T, PCB_TARGET_T, PCB_TEXT_T, PCB_TEXTBOX_T, PlotDimension(), PlotPcbTarget(), PlotShape(), PlotTableBorders(), PlotText(), STROKE, table, text, and EDA_ITEM::Type().
Referenced by PLACEFILE_GERBER_WRITER::CreatePlaceFile(), and PlotStandardLayer().
void BRDITEMS_PLOTTER::PlotDimension | ( | const PCB_DIMENSION_BASE * | aDim | ) |
Definition at line 548 of file plot_brditems_plotter.cpp.
References SEG::A, SEG::B, CIRCLE, color, PCB_PLOT_PARAMS::ColorSettings(), COLOR_SETTINGS::GetColor(), BOARD_ITEM::GetFontMetrics(), BOARD_ITEM::GetLayer(), PCB_DIMENSION_BASE::GetLineThickness(), SHAPE_CIRCLE::GetRadius(), SHAPE_SEGMENT::GetSeg(), PCB_DIMENSION_BASE::GetShapes(), LIGHTGRAY, m_layerMask, m_plotter, PlotShape(), PlotText(), radius, SEGMENT, EDA_SHAPE::SetEnd(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetShape(), EDA_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), SH_CIRCLE, SH_SEGMENT, SOLID, WHITE, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PlotBoardGraphicItem(), and PlotFootprintGraphicItems().
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 1238 of file plot_brditems_plotter.cpp.
References PADSTACK::ALL_LAYERS, ANGLE_0, BLACK, CIRCLE, DXF, FILLED, ADVANCED_CFG::GetCfg(), PCB_PLOT_PARAMS::GetDrillMarksType(), PCB_PLOT_PARAMS::GetDXFPlotMode(), m_board, m_layerMask, m_plotter, pad, PCB_VIA_T, pcbIUScale, plotOneDrillMark(), SMALL_DRILL_SHAPE, via, and WHITE.
Referenced by PlotBoardLayers().
void BRDITEMS_PLOTTER::PlotFootprintGraphicItems | ( | const FOOTPRINT * | aFootprint | ) |
Definition at line 657 of file plot_brditems_plotter.cpp.
References BOARD_ITEM::GetFontMetrics(), PCB_SHAPE::GetLayer(), FOOTPRINT::GetPrivateLayers(), PCB_PLOT_PARAMS::GetTextMode(), FOOTPRINT::GraphicalItems(), hideDNPItems(), PCB_TEXTBOX::IsBorderEnabled(), FOOTPRINT::IsDNP(), BOARD_ITEM::IsKnockout(), m_layerMask, m_plotter, PCB_DIM_ALIGNED_T, PCB_DIM_CENTER_T, PCB_DIM_LEADER_T, PCB_DIM_ORTHOGONAL_T, PCB_DIM_RADIAL_T, PCB_REFERENCE_IMAGE_T, PCB_SHAPE_T, PCB_TABLE_T, PCB_TEXT_T, PCB_TEXTBOX_T, PlotDimension(), PlotShape(), PlotTableBorders(), PlotText(), STROKE, table, and UNIMPLEMENTED_FOR.
Referenced by PlotStandardLayer().
void BRDITEMS_PLOTTER::PlotFootprintTextItems | ( | const FOOTPRINT * | aFootprint | ) |
Definition at line 401 of file plot_brditems_plotter.cpp.
References crossoutDNPItems(), Edge_Cuts, FOOTPRINT::GetFields(), BOARD_ITEM::GetFontMetrics(), BOARD_ITEM::GetLayer(), PCB_PLOT_PARAMS::GetPlotFPText(), PCB_PLOT_PARAMS::GetPlotReference(), PCB_PLOT_PARAMS::GetPlotValue(), FOOTPRINT::GetPrivateLayers(), FOOTPRINT::GraphicalItems(), hideDNPItems(), FOOTPRINT::IsDNP(), BOARD_ITEM::IsKnockout(), EDA_TEXT::IsVisible(), m_layerMask, PCB_LAYER_ID_COUNT, PlotText(), FOOTPRINT::Reference(), text, and FOOTPRINT::Value().
Referenced by PlotStandardLayer().
|
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 1210 of file plot_brditems_plotter.cpp.
References CIRCLE, getFineWidthAdj(), m_plotter, OBLONG, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PlotDrillMarks().
void BRDITEMS_PLOTTER::PlotPad | ( | const PAD * | aPad, |
PCB_LAYER_ID | aLayer, | ||
const COLOR4D & | aColor, | ||
bool | aSketchMode ) |
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 150 of file plot_brditems_plotter.cpp.
References PADSTACK::ALL_LAYERS, LSET::AllCuMask(), BGA, CASTELLATED, CHAMFERED_RECT, CIRCLE, CONN, CUSTOM, ERROR_INSIDE, LSET::ExternalCuMask(), FIDUCIAL_GLBL, FIDUCIAL_LOCAL, GERBER_PLOTTER::FlashPadChamferRoundRect(), 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, GERBER, PAD::GetAttribute(), PAD::GetChamferPositions(), PAD::GetChamferRectRatio(), PAD::GetDelta(), PAD::GetEffectivePolygon(), BOARD_CONNECTED_ITEM::GetNetname(), PAD::GetNumber(), PAD::GetOrientation(), BOARD_ITEM::GetParentFootprint(), PAD::GetPinFunction(), PAD::GetProperty(), FOOTPRINT::GetReference(), PAD::GetRoundRectCornerRadius(), PAD::GetShape(), PAD::GetSize(), PCB_PLOT_PARAMS::GetSketchPadLineWidth(), HEATSINK, KI_FALLTHROUGH, LIGHTGRAY, m_layerMask, GBR_METADATA::m_NetlistMetadata, GBR_NETLIST_METADATA::m_NotInNet, m_plotter, MECHANICAL, NONE, NPTH, OVAL, PRESSFIT, PTH, RECTANGLE, ROUNDRECT, GBR_METADATA::SetApertureAttrib(), GBR_METADATA::SetCmpReference(), GBR_METADATA::SetCopper(), GBR_METADATA::SetNetAttribType(), GBR_METADATA::SetNetName(), GBR_METADATA::SetPadName(), GBR_METADATA::SetPadPinFunction(), PAD::ShapePos(), PAD::ShowPadShape(), SMD, TESTPOINT, PAD::TransformShapeToPolygon(), TRAPEZOID, UNIMPLEMENTED_FOR, WHITE, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PlotStandardLayer().
Definition at line 79 of file plot_brditems_plotter.cpp.
References PADSTACK::ALL_LAYERS, ANGLE_90, BOX2< Vec >::Centre(), CUSTOM, PAD::GetBoundingBox(), PAD::GetNumber(), PAD::GetOrientation(), PAD::GetPrimitives(), PAD::GetShape(), BOX2< Vec >::GetSize(), PAD::GetSize(), KiROUND(), TEXT_ATTRIBUTES::m_Angle, TEXT_ATTRIBUTES::m_Mirrored, m_plotter, TEXT_ATTRIBUTES::m_Size, TEXT_ATTRIBUTES::m_StrokeWidth, pcbIUScale, PrintableCharCount(), RECTANGLE, RotatePoint(), PAD::ShapePos(), UnescapeString(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PlotStandardLayer().
void BRDITEMS_PLOTTER::PlotPcbTarget | ( | const PCB_TARGET * | aMire | ) |
Definition at line 603 of file plot_brditems_plotter.cpp.
References CIRCLE, getColor(), BOARD_ITEM::GetLayer(), PCB_TARGET::GetPosition(), PCB_TARGET::GetShape(), PCB_TARGET::GetSize(), EDA_SHAPE::GetStart(), PCB_TARGET::GetWidth(), m_layerMask, m_plotter, PlotShape(), radius, SEGMENT, EDA_SHAPE::SetEnd(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetShape(), EDA_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), SOLID, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PlotBoardGraphicItem().
void BRDITEMS_PLOTTER::PlotShape | ( | const PCB_SHAPE * | aShape | ) |
Definition at line 909 of file plot_brditems_plotter.cpp.
References std::abs(), LSET::AllCuMask(), any::any(), SHAPE_POLY_SET::Append(), ARC, EDA_ANGLE::AsDegrees(), B_Fab, B_Mask, BEZIER, CIRCLE, SHAPE_POLY_SET::CloneDropTriangulation(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), DXF, Edge_Cuts, F_Fab, F_Mask, FILLED_SHAPE, FIRST_TYPE, 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, GERBER, EDA_SHAPE::GetArcAngle(), EDA_SHAPE::GetBezierC1(), EDA_SHAPE::GetBezierC2(), PCB_SHAPE::GetCenter(), getColor(), EDA_SHAPE::GetCornerRadius(), PCB_PLOT_PARAMS::GetDXFPlotMode(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetHatching(), PCB_SHAPE::GetLayer(), PCB_SHAPE::GetLayerSet(), STROKE_PARAMS::GetLineStyle(), BOARD_ITEM::GetMaxError(), getMetadata, BOARD_CONNECTED_ITEM::GetNetCode(), BOARD_CONNECTED_ITEM::GetNetname(), BOARD_ITEM::GetParentFootprint(), EDA_SHAPE::GetPolyShape(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetRectCorners(), FOOTPRINT::GetReference(), EDA_SHAPE::GetShape(), PCB_PLOT_PARAMS::GetSketchDNPFPsOnFabLayers(), PCB_PLOT_PARAMS::GetSketchPadLineWidth(), PCB_SHAPE::GetSolderMaskExpansion(), EDA_SHAPE::GetStart(), PCB_SHAPE::GetStroke(), PCB_SHAPE::GetWidth(), PCB_SHAPE::HasSolderMask(), SHAPE_POLY_SET::Inflate(), FOOTPRINT::IsDNP(), IsExternalCopperLayer(), EDA_SHAPE::IsHatchedFill(), EDA_SHAPE::IsPolyShapeValid(), EDA_SHAPE::IsSolidFill(), m_layerMask, m_plotter, EDA_SHAPE::MakeEffectiveShapes(), SHAPE_POLY_SET::NewOutline(), NO_FILL, BOX2< Vec >::Normalize(), SHAPE_POLY_SET::Outline(), SHAPE_RECT::Outline(), SHAPE_POLY_SET::OutlineCount(), GERBER_PLOTTER::PlotPolyAsRegion(), SHAPE_LINE_CHAIN::PointCount(), POLY, radius, RECTANGLE, ROUND_ALL_CORNERS, SEGMENT, GBR_METADATA::SetApertureAttrib(), SHAPE_LINE_CHAIN::SetClosed(), GBR_METADATA::SetCmpReference(), GBR_METADATA::SetCopper(), GBR_METADATA::SetNetAttribType(), GBR_METADATA::SetNetName(), SHAPE_RECT::SetRadius(), EDA_SHAPE::SHAPE_T_asString(), SKETCH, STROKE_PARAMS::Stroke(), UNIMPLEMENTED_FOR, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PLACEFILE_GERBER_WRITER::CreatePlaceFile(), GENDRILL_WRITER_BASE::genDrillMapFile(), PlotBoardGraphicItem(), PlotDimension(), PlotFootprintGraphicItems(), and PlotPcbTarget().
void BRDITEMS_PLOTTER::PlotTableBorders | ( | const PCB_TABLE * | aTable | ) |
Definition at line 1173 of file plot_brditems_plotter.cpp.
References PCB_TABLE::DrawBorders(), FIRST_TYPE, GBR_NETLIST_METADATA::GBR_NETINFO_CMP, BOARD_ITEM::GetLayer(), STROKE_PARAMS::GetLineStyle(), getMetadata, BOARD_ITEM::GetParentFootprint(), STROKE_PARAMS::GetWidth(), m_layerMask, m_plotter, GBR_METADATA::SetCmpReference(), GBR_METADATA::SetNetAttribType(), and STROKE_PARAMS::Stroke().
Referenced by PlotBoardGraphicItem(), and PlotFootprintGraphicItems().
void BRDITEMS_PLOTTER::PlotText | ( | const EDA_TEXT * | aText, |
PCB_LAYER_ID | aLayer, | ||
bool | aIsKnockout, | ||
const KIFONT::METRICS & | aFontMetrics, | ||
bool | aStrikeout = false ) |
Definition at line 737 of file plot_brditems_plotter.cpp.
References ARC_LOW_DEF, SHAPE_POLY_SET::BBox(), color, KIGFX::GAL::DrawGlyphs(), end, ERROR_INSIDE, FILLED_SHAPE, SHAPE_POLY_SET::Fracture(), GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_NONCONDUCTOR, EDA_TEXT::GetAttributes(), BOX2< Vec >::GetBottom(), getColor(), EDA_TEXT::GetDrawFont(), EDA_TEXT::GetDrawRotation(), EDA_TEXT::GetEffectiveTextPenWidth(), BOX2< Vec >::GetLeft(), EDA_TEXT::GetLinePositions(), getMetadata, EDA_TEXT::GetRenderCache(), BOX2< Vec >::GetRight(), EDA_TEXT::GetShownText(), EDA_TEXT::GetTextPos(), BOX2< Vec >::GetTop(), IsCopperLayer(), EDA_TEXT::IsMultilineAllowed(), KIFONT::FONT::IsOutline(), TEXT_ATTRIBUTES::m_Angle, m_board, m_layerMask, TEXT_ATTRIBUTES::m_Multiline, m_plotter, TEXT_ATTRIBUTES::m_StrokeWidth, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), SHAPE_POLY_SET::Rotate(), RotatePoint(), GBR_METADATA::SetApertureAttrib(), text, and wxStringSplit().
Referenced by PlotBoardGraphicItem(), PlotDimension(), PlotFootprintGraphicItems(), and PlotFootprintTextItems().
void BRDITEMS_PLOTTER::PlotZone | ( | const ZONE * | aZone, |
PCB_LAYER_ID | aLayer, | ||
const SHAPE_POLY_SET & | aPolysList ) |
Definition at line 850 of file plot_brditems_plotter.cpp.
References DXF, FILLED, FILLED_SHAPE, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_CONDUCTOR, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_NONCONDUCTOR, GBR_NETLIST_METADATA::GBR_NETINFO_NET, GERBER, getColor(), PCB_PLOT_PARAMS::GetDXFPlotMode(), getMetadata, BOARD_CONNECTED_ITEM::GetNetname(), SHAPE_POLY_SET::IsEmpty(), ZONE::IsOnCopperLayer(), m_plotter, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), GBR_METADATA::SetApertureAttrib(), GBR_METADATA::SetCopper(), GBR_METADATA::SetNetAttribType(), and GBR_METADATA::SetNetName().
Referenced by PlotPolySet(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 178 of file pcb_plot_params.h.
References m_A4Output.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 97 of file pcb_plot_params.h.
References m_autoScale.
Referenced by PCB_PLOTTER::PlotJobToPlotOpts(), setupPlotterNewPDFPage(), and StartPlotBoard().
|
inlineinherited |
Definition at line 160 of file pcb_plot_params.h.
References m_blackAndWhite.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 58 of file pcb_plot_params.h.
References m_colors.
Referenced by PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 145 of file pcb_plot_params.h.
References m_createGerberJobFile.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 112 of file pcb_plot_params.h.
References m_crossoutDNPFPsOnFabLayers.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 181 of file pcb_plot_params.h.
References m_dashedLineDashRatio.
|
inlineinherited |
Definition at line 184 of file pcb_plot_params.h.
References m_dashedLineGapRatio.
|
inlineinherited |
Definition at line 136 of file pcb_plot_params.h.
References m_gerberDisableApertMacros.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 84 of file pcb_plot_params.h.
References m_drillMarks.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCB_PLOTTER::PlotJobToPlotOpts(), and PlotOneBoardLayer().
|
inlineinherited |
Definition at line 72 of file pcb_plot_params.h.
References m_DXFPlotMode.
Referenced by PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 78 of file pcb_plot_params.h.
References m_DXFPolygonMode.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCB_PLOTTER::PlotJobToPlotOpts(), and PlotOneBoardLayer().
|
inlineinherited |
Definition at line 81 of file pcb_plot_params.h.
References m_DXFUnits.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 90 of file pcb_plot_params.h.
References m_fineScaleAdjustX.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 92 of file pcb_plot_params.h.
References m_fineScaleAdjustY.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 130 of file pcb_plot_params.h.
References m_format.
Referenced by DIALOG_PLOT::applyPlotSettings(), BOARD_EDITOR_CONTROL::GenerateGerbers(), PLOT_CONTROLLER::OpenPlotfile(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inherited |
Definition at line 122 of file pcb_plot_params.cpp.
References gbrDefaultPrecision, and m_gerberPrecision.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 108 of file pcb_plot_params.h.
References m_hideDNPFPsOnFabLayers.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 142 of file pcb_plot_params.h.
References m_includeGerberNetlistInfo.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 166 of file pcb_plot_params.h.
References m_layerSelection.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCB_PLOT_PARAMS_PARSER::Parse(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inline |
Definition at line 86 of file pcbplot.h.
References m_layerMask.
Referenced by PLACEFILE_GERBER_WRITER::CreatePlaceFile(), GENDRILL_WRITER_BASE::genDrillMapFile(), PlotBoardLayers(), PlotLayerOutlines(), PlotPolySet(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 100 of file pcb_plot_params.h.
References m_mirror.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::doFpExportSvg(), PCB_PLOTTER::PlotJobToPlotOpts(), setupPlotterNewPDFPage(), and StartPlotBoard().
|
inlineinherited |
Definition at line 122 of file pcb_plot_params.h.
References m_negative.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 133 of file pcb_plot_params.h.
References m_outputDirectory.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 187 of file pcb_plot_params.h.
References m_PDFBackgroundColor.
|
inlineinherited |
Definition at line 119 of file pcb_plot_params.h.
References m_plotFPText.
|
inlineinherited |
Definition at line 127 of file pcb_plot_params.h.
References m_plotDrawingSheet.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::doFpExportSvg(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 169 of file pcb_plot_params.h.
References m_plotOnAllLayersSequence.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCB_PLOT_PARAMS_PARSER::Parse(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 75 of file pcb_plot_params.h.
References m_plotPadNumbers.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::doFpExportSvg(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 117 of file pcb_plot_params.h.
References m_plotReference.
Referenced by PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 115 of file pcb_plot_params.h.
References m_plotValue.
Referenced by PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 87 of file pcb_plot_params.h.
References m_scale.
Referenced by PCB_PLOTTER::PlotJobToPlotOpts(), setupPlotterNewPDFPage(), and StartPlotBoard().
|
inlineinherited |
Definition at line 175 of file pcb_plot_params.h.
References m_scaleSelection.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 110 of file pcb_plot_params.h.
References m_sketchDNPFPsOnFabLayers.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 105 of file pcb_plot_params.h.
References m_sketchPadLineWidth.
|
inlineinherited |
Definition at line 103 of file pcb_plot_params.h.
References m_sketchPadsOnFabLayers.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 42 of file pcb_plot_params.h.
References m_skipNPTH_Pads.
Referenced by PCBNEW_JOBS_HANDLER::doFpExportSvg(), and PlotOneBoardLayer().
|
inlineinherited |
Definition at line 163 of file pcb_plot_params.h.
References m_subtractMaskFromSilk.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 157 of file pcb_plot_params.h.
References m_svgFitPageToBoard.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::doFpExportSvg(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inherited |
Definition at line 134 of file pcb_plot_params.cpp.
References m_svgPrecision, SVG_PRECISION_MAX, and SVG_PRECISION_MIN.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 62 of file pcb_plot_params.h.
References m_textMode.
Referenced by DIALOG_PLOT::applyPlotSettings().
|
inlineinherited |
Definition at line 172 of file pcb_plot_params.h.
References m_useAuxOrigin.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 148 of file pcb_plot_params.h.
References m_useGerberProtelExtensions.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 139 of file pcb_plot_params.h.
References m_useGerberX2format.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inlineinherited |
Definition at line 94 of file pcb_plot_params.h.
References m_widthAdjust.
Referenced by DIALOG_PLOT::applyPlotSettings(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
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 Format(), GetA4Output(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetA4Output().
|
privateinherited |
Autoscale the plot to fit an A4 (landscape?) sheet.
Definition at line 215 of file pcb_plot_params.h.
Referenced by GetAutoScale(), IsSameAs(), PCB_PLOT_PARAMS(), and SetAutoScale().
|
privateinherited |
Plot in negative color (supported only by some drivers)
Definition at line 220 of file pcb_plot_params.h.
Referenced by Format(), GetBlackAndWhite(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetBlackAndWhite().
|
private |
Definition at line 153 of file pcbplot.h.
Referenced by BRDITEMS_PLOTTER(), PlotDrillMarks(), and PlotText().
|
privateinherited |
Definition at line 290 of file pcb_plot_params.h.
Referenced by ColorSettings(), PCB_PLOT_PARAMS(), and SetColorSettings().
|
privateinherited |
generate the auxiliary "job file" in gerber format
Definition at line 244 of file pcb_plot_params.h.
Referenced by GetCreateGerberJobFile(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetCreateGerberJobFile().
|
privateinherited |
Definition at line 273 of file pcb_plot_params.h.
Referenced by Format(), GetCrossoutDNPFPsOnFabLayers(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetCrossoutDNPFPsOnFabLayers().
|
privateinherited |
Definition at line 287 of file pcb_plot_params.h.
Referenced by GetDashedLineDashRatio(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetDashedLineDashRatio().
|
privateinherited |
Definition at line 288 of file pcb_plot_params.h.
Referenced by GetDashedLineGapRatio(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetDashedLineGapRatio().
|
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 293 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS().
|
privateinherited |
Plot pad numbers when sketching pads on fab layers.
Definition at line 206 of file pcb_plot_params.h.
Referenced by Format(), GetDrillMarksType(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetDrillMarksType().
|
privateinherited |
Definition at line 209 of file pcb_plot_params.h.
Referenced by GetDXFPlotMode(), IsSameAs(), PCB_PLOT_PARAMS(), and SetDXFPlotMode().
|
privateinherited |
Definition at line 211 of file pcb_plot_params.h.
Referenced by Format(), GetDXFPlotPolygonMode(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetDXFPlotPolygonMode().
|
privateinherited |
FILLED or SKETCH for filled objects.
Definition at line 210 of file pcb_plot_params.h.
Referenced by Format(), GetDXFPlotUnits(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetDXFPlotUnits().
|
privateinherited |
Compensation for printer scale errors (and therefore.
Definition at line 275 of file pcb_plot_params.h.
Referenced by GetFineScaleAdjustX(), IsSameAs(), PCB_PLOT_PARAMS(), and SetFineScaleAdjustX().
|
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 276 of file pcb_plot_params.h.
Referenced by GetFineScaleAdjustY(), IsSameAs(), PCB_PLOT_PARAMS(), and SetFineScaleAdjustY().
|
privateinherited |
Definition at line 200 of file pcb_plot_params.h.
Referenced by Format(), GetFormat(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetFormat().
|
privateinherited |
Disable aperture macros in Gerber format (only for broken Gerber readers).
Ideally, should be never selected.
Definition at line 238 of file pcb_plot_params.h.
Referenced by Format(), GetDisableGerberMacros(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetDisableGerberMacros().
|
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 250 of file pcb_plot_params.h.
Referenced by Format(), GetGerberPrecision(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetGerberPrecision().
|
privateinherited |
Definition at line 271 of file pcb_plot_params.h.
Referenced by Format(), GetHideDNPFPsOnFabLayers(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetHideDNPFPsOnFabLayers().
|
privateinherited |
Include netlist info (only in Gerber X2 format) (chapter ? in revision ?)
Definition at line 241 of file pcb_plot_params.h.
Referenced by GetIncludeGerberNetlistInfo(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetIncludeGerberNetlistInfo().
|
private |
Definition at line 154 of file pcbplot.h.
Referenced by PlotDimension(), PlotDrillMarks(), PlotFootprintGraphicItems(), PlotFootprintTextItems(), PlotPad(), PlotPcbTarget(), PlotShape(), PlotTableBorders(), PlotText(), and SetLayerSet().
|
privateinherited |
Plot format type (chooses the driver to be used)
Definition at line 201 of file pcb_plot_params.h.
Referenced by Format(), GetLayerSelection(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetLayerSelection().
|
privateinherited |
Global scale factor, 1.0 plots a board at actual size.
Definition at line 217 of file pcb_plot_params.h.
Referenced by Format(), GetMirror(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetMirror().
|
privateinherited |
Mirror the plot around the X axis.
Definition at line 219 of file pcb_plot_params.h.
Referenced by Format(), GetNegative(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetNegative().
|
privateinherited |
Output directory for plot files (usually relative to the board file)
Definition at line 260 of file pcb_plot_params.h.
Referenced by Format(), GetOutputDirectory(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetOutputDirectory().
|
inherited |
on front and/or back of board
Definition at line 192 of file pcb_plot_params.h.
Referenced by DIALOG_PLOT::applyPlotSettings(), Format(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), PlotInteractiveLayer(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inherited |
Background color to use if m_PDFUseBackgroundColor is true.
Definition at line 195 of file pcb_plot_params.h.
Referenced by DIALOG_PLOT::applyPlotSettings(), GetPDFBackgroundColor(), PCB_PLOT_PARAMS(), PCB_PLOTTER::PlotJobToPlotOpts(), and SetPDFBackgroundColor().
|
inherited |
Generate PDF property popup menus for footprints.
Definition at line 191 of file pcb_plot_params.h.
Referenced by DIALOG_PLOT::applyPlotSettings(), Format(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), PlotInteractiveLayer(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inherited |
Generate PDF metadata for SUBJECT and AUTHOR.
Definition at line 193 of file pcb_plot_params.h.
Referenced by DIALOG_PLOT::applyPlotSettings(), Format(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
inherited |
Generate a single PDF file for all layers.
Definition at line 194 of file pcb_plot_params.h.
Referenced by DIALOG_PLOT::applyPlotSettings(), Format(), PCBNEW_JOBS_HANDLER::JobExportPdf(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and PCB_PLOTTER::PlotJobToPlotOpts().
|
privateinherited |
Plot in black and white only.
Definition at line 221 of file pcb_plot_params.h.
Referenced by Format(), GetPlotFrameRef(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetPlotFrameRef().
|
privateinherited |
Definition at line 266 of file pcb_plot_params.h.
Referenced by GetPlotFPText(), IsSameAs(), PCB_PLOT_PARAMS(), and SetPlotFPText().
|
privateinherited |
Definition at line 202 of file pcb_plot_params.h.
Referenced by Format(), GetPlotOnAllLayersSequence(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), and SetPlotOnAllLayersSequence().
|
privateinherited |
Used to disable NPTH pads plotting on copper layers.
Definition at line 205 of file pcb_plot_params.h.
Referenced by Format(), GetPlotPadNumbers(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetPlotPadNumbers().
|
privateinherited |
Enable plotting of part references.
Definition at line 264 of file pcb_plot_params.h.
Referenced by GetPlotReference(), IsSameAs(), PCB_PLOT_PARAMS(), and SetPlotReference().
|
private |
Definition at line 152 of file pcbplot.h.
Referenced by BRDITEMS_PLOTTER(), PlotBoardGraphicItem(), PlotDimension(), PlotDrillMarks(), PlotFootprintGraphicItems(), plotOneDrillMark(), PlotPad(), PlotPadNumber(), PlotPcbTarget(), PlotShape(), PlotTableBorders(), PlotText(), and PlotZone().
|
privateinherited |
Enable plotting of part values.
Definition at line 265 of file pcb_plot_params.h.
Referenced by GetPlotValue(), IsSameAs(), PCB_PLOT_PARAMS(), and SetPlotValue().
|
privateinherited |
Definition at line 223 of file pcb_plot_params.h.
Referenced by GetLegacyPlotViaOnMaskLayer(), and PCB_PLOT_PARAMS_PARSER::Parse().
|
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 GetScale(), IsSameAs(), PCB_PLOT_PARAMS(), and SetScale().
|
privateinherited |
Scale ratio index (UI only)
Definition at line 262 of file pcb_plot_params.h.
Referenced by Format(), GetScaleSelection(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetScaleSelection().
|
privateinherited |
Definition at line 272 of file pcb_plot_params.h.
Referenced by Format(), GetSketchDNPFPsOnFabLayers(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetSketchDNPFPsOnFabLayers().
|
privateinherited |
Definition at line 269 of file pcb_plot_params.h.
Referenced by GetSketchPadLineWidth(), PCB_PLOT_PARAMS(), and SetSketchPadLineWidth().
|
privateinherited |
Plots pads outlines on fab layers.
Definition at line 268 of file pcb_plot_params.h.
Referenced by Format(), GetSketchPadsOnFabLayers(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetSketchPadsOnFabLayers().
|
privateinherited |
Definition at line 204 of file pcb_plot_params.h.
Referenced by GetSkipPlotNPTH_Pads(), PCB_PLOT_PARAMS(), and SetSkipPlotNPTH_Pads().
|
privateinherited |
Deprecated; only used for reading legacy files.
Definition at line 225 of file pcb_plot_params.h.
Referenced by Format(), GetSubtractMaskFromSilk(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetSubtractMaskFromSilk().
|
privateinherited |
Definition at line 254 of file pcb_plot_params.h.
Referenced by GetSvgFitPagetoBoard(), PCB_PLOT_PARAMS(), and SetSvgFitPageToBoard().
|
privateinherited |
Precision of coordinates in SVG: accepted 3 - 6; 6 is the internal resolution of Pcbnew.
Definition at line 253 of file pcb_plot_params.h.
Referenced by Format(), GetSvgPrecision(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetSvgPrecision().
|
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 Format(), GetTextMode(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetTextMode().
|
privateinherited |
Plot gerbers using auxiliary (drill) origin instead of absolute coordinates.
Definition at line 256 of file pcb_plot_params.h.
Referenced by Format(), GetUseAuxOrigin(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetUseAuxOrigin().
|
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 231 of file pcb_plot_params.h.
Referenced by Format(), GetUseGerberProtelExtensions(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetUseGerberProtelExtensions().
|
privateinherited |
Include attributes from the Gerber X2 format (chapter 5 in revision J2)
Definition at line 234 of file pcb_plot_params.h.
Referenced by GetUseGerberX2format(), IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS(), and SetUseGerberX2format().
|
privateinherited |
Compensation for PS printers/plotters that do not strictly obey line width settings.
Only used to plot pads and tracks.
Definition at line 283 of file pcb_plot_params.h.
Referenced by GetWidthAdjust(), IsSameAs(), PCB_PLOT_PARAMS(), and SetWidthAdjust().