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 (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, OUTLINE_MODE aPlotMode) |
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 |
void | SetPlotMode (OUTLINE_MODE aPlotMode) |
OUTLINE_MODE | GetPlotMode () const |
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 | 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 |
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 | 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 | |
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) | |
LSET | m_plotOnAllLayersSelection |
bool | m_skipNPTH_Pads |
OUTLINE_MODE | m_plotMode |
Used to disable NPTH pads plotting on copper layers. | |
bool | m_plotPadNumbers |
FILLED or SKETCH for filled objects. | |
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_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. | |
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_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 |
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. | |
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_SETTINGS * | m_colors |
std::shared_ptr< COLOR_SETTINGS > | m_default_colors |
Pointer to color settings to be used for plotting. | |
|
inline |
|
inlineinherited |
Definition at line 59 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_colors.
Referenced by getColor(), 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 176 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_crossoutDNPFPsOnFabLayers, 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_hideDNPFPsOnFabLayers, 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_plotInvisibleText, PCB_PLOT_PARAMS::m_plotOnAllLayersSelection, PCB_PLOT_PARAMS::m_plotPadNumbers, PCB_PLOT_PARAMS::m_scaleSelection, PCB_PLOT_PARAMS::m_sketchDNPFPsOnFabLayers, 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(), OUTPUTFORMATTER::Quotew(), and SKETCH.
Referenced by PCB_IO_KICAD_SEXPR::formatSetup().
|
inlineinherited |
Definition at line 181 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_A4Output.
Referenced by DIALOG_PLOT::init_Dialog(), and initializePlotter().
|
inlineinherited |
Definition at line 97 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_autoScale.
Referenced by initializePlotter().
|
inlineinherited |
Definition at line 159 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_blackAndWhite.
Referenced by DIALOG_PLOT::init_Dialog(), initializePlotter(), and DIALOG_PLOT::transferPlotParamsToJob().
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 64 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().
|
inlineinherited |
Definition at line 147 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_createGerberJobFile.
Referenced by PCB_PLOT_PARAMS::Format(), DIALOG_PLOT::init_Dialog(), DIALOG_PLOT::Plot(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 112 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_crossoutDNPFPsOnFabLayers.
Referenced by crossoutDNPItems(), DIALOG_PLOT::init_Dialog(), PlotStandardLayer(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 196 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_dashedLineDashRatio.
Referenced by BOARD_ADAPTER::addShape(), PCB_PLOT_PARAMS::Format(), and PANEL_SETUP_FORMATTING::ImportSettingsFrom().
|
inlineinherited |
Definition at line 199 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_dashedLineGapRatio.
Referenced by BOARD_ADAPTER::addShape(), PCB_PLOT_PARAMS::Format(), and PANEL_SETUP_FORMATTING::ImportSettingsFrom().
|
inlineinherited |
Definition at line 138 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_gerberDisableApertMacros.
Referenced by DIALOG_PLOT::init_Dialog(), StartPlotBoard(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 84 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_drillMarks.
Referenced by DIALOG_PLOT::init_Dialog(), PlotBoardLayers(), PlotDrillMarks(), PlotLayerOutlines(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 78 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_DXFPolygonMode.
Referenced by DIALOG_PLOT::init_Dialog().
|
inlineinherited |
Definition at line 81 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_DXFUnits.
Referenced by DIALOG_PLOT::init_Dialog(), StartPlotBoard(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 90 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_fineScaleAdjustX.
Referenced by StartPlotBoard().
|
inlineinherited |
Definition at line 92 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_fineScaleAdjustY.
Referenced by StartPlotBoard().
|
inline |
Definition at line 77 of file pcbplot.h.
References PCB_PLOT_PARAMS::GetFormat(), and PCB_PLOT_PARAMS::GetWidthAdjust().
Referenced by plotOneDrillMark(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 132 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_format.
Referenced by getFineWidthAdj(), DIALOG_PLOT::init_Dialog(), DIALOG_PLOT::Plot(), PlotOneBoardLayer(), and StartPlotBoard().
|
inlineinherited |
Definition at line 153 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_gerberPrecision.
Referenced by DIALOG_GENDRILL::GenDrillAndMapFiles(), DIALOG_PLOT::init_Dialog(), initializePlotter(), DIALOG_GENDRILL::onFileFormatSelection(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 108 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_hideDNPFPsOnFabLayers.
Referenced by hideDNPItems(), DIALOG_PLOT::init_Dialog(), PlotStandardLayer(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 185 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_HPGLPenDiam.
Referenced by DIALOG_PLOT::applyPlotSettings(), ConfigureHPGLPenSizes(), and DIALOG_PLOT::init_Dialog().
|
inlineinherited |
Definition at line 193 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_HPGLPenNum.
Referenced by ConfigureHPGLPenSizes().
|
inlineinherited |
Definition at line 189 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_HPGLPenSpeed.
Referenced by ConfigureHPGLPenSizes().
|
inlineinherited |
Definition at line 144 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_includeGerberNetlistInfo.
Referenced by PCB_PLOT_PARAMS::Format(), DIALOG_PLOT::init_Dialog(), StartPlotBoard(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 165 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_layerSelection.
Referenced by BOARD_ADAPTER::GetVisibleLayers(), DIALOG_PLOT::init_Dialog(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), DIALOG_PLOT::Plot(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 126 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotViaOnMaskLayer.
Referenced by PCB_IO_KICAD_LEGACY::loadSETUP(), and PCB_IO_KICAD_SEXPR_PARSER::parseSetup().
|
inlineinherited |
Definition at line 100 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_mirror.
Referenced by DIALOG_PLOT::init_Dialog(), initializePlotter(), StartPlotBoard(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 124 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_negative.
Referenced by DIALOG_PLOT::init_Dialog(), StartPlotBoard(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 135 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_outputDirectory.
Referenced by DIALOG_GENDRILL::GenDrillAndMapFiles(), DIALOG_GENDRILL::InitDisplayParams(), DIALOG_GENDRILL::OnGenReportFile(), PLOT_CONTROLLER::OpenPlotfile(), DIALOG_PLOT::Plot(), and DIALOG_PLOT::reInitDialog().
|
inlineinherited |
Definition at line 121 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotFPText.
Referenced by BOARD_ADAPTER::GetVisibleLayers(), PlotFootprintTextItems(), and PlotSolderMaskLayer().
|
inlineinherited |
Definition at line 129 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotDrawingSheet.
Referenced by DIALOG_PLOT::init_Dialog(), and StartPlotBoard().
|
inlineinherited |
Definition at line 115 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotInvisibleText.
Referenced by DIALOG_PLOT::init_Dialog(), PlotFootprintTextItems(), and PlotSolderMaskLayer().
|
inlineinherited |
Definition at line 72 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotMode.
Referenced by PCB_PLOT_PARAMS::Format(), DIALOG_PLOT::init_Dialog(), PlotDrillMarks(), plotOneDrillMark(), PlotShape(), PlotStandardLayer(), PlotTableBorders(), PlotZone(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 172 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotOnAllLayersSelection.
Referenced by DIALOG_PLOT::DIALOG_PLOT(), BOARD_ADAPTER::GetVisibleLayers(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 75 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotPadNumbers.
Referenced by DIALOG_PLOT::init_Dialog(), PlotStandardLayer(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 119 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotReference.
Referenced by BOARD_ADAPTER::GetVisibleLayers(), PlotFootprintTextItems(), and PlotSolderMaskLayer().
|
inlineinherited |
Definition at line 117 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotValue.
Referenced by BOARD_ADAPTER::GetVisibleLayers(), PlotFootprintTextItems(), and PlotSolderMaskLayer().
|
inlineinherited |
Definition at line 87 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_scale.
Referenced by ConfigureHPGLPenSizes(), initializePlotter(), and DIALOG_PLOT::Plot().
|
inlineinherited |
Definition at line 178 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_scaleSelection.
Referenced by DIALOG_PLOT::init_Dialog(), and DIALOG_PLOT::Plot().
|
inlineinherited |
Definition at line 110 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_sketchDNPFPsOnFabLayers.
Referenced by DIALOG_PLOT::init_Dialog(), PlotShape(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 105 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_sketchPadLineWidth.
Referenced by PlotPad().
|
inlineinherited |
Definition at line 103 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_sketchPadsOnFabLayers.
Referenced by DIALOG_PLOT::init_Dialog(), PlotStandardLayer(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 42 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_skipNPTH_Pads.
Referenced by PlotStandardLayer().
|
inlineinherited |
Definition at line 162 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_subtractMaskFromSilk.
Referenced by DIALOG_PLOT::init_Dialog(), PlotOneBoardLayer(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 156 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_svgPrecision.
Referenced by DIALOG_PLOT::init_Dialog(), initializePlotter(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 66 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_textMode.
Referenced by DIALOG_PLOT::init_Dialog(), initializePlotter(), PlotBoardGraphicItem(), PlotFootprintGraphicItems(), and PlotOneBoardLayer().
|
inlineinherited |
Definition at line 175 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_useAuxOrigin.
Referenced by AddGerberX2Header(), PLACEFILE_GERBER_WRITER::CreatePlaceFile(), DIALOG_PLOT::init_Dialog(), DIALOG_GENDRILL::initDialog(), initializePlotter(), DIALOG_PLOT::reInitDialog(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 150 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_useGerberProtelExtensions.
Referenced by DIALOG_PLOT::init_Dialog(), PCBNEW_JOBS_HANDLER::JobExportGerbers(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 141 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_useGerberX2format.
Referenced by PCB_PLOT_PARAMS::Format(), DIALOG_PLOT::init_Dialog(), StartPlotBoard(), and DIALOG_PLOT::transferPlotParamsToJob().
|
inlineinherited |
Definition at line 94 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_widthAdjust.
Referenced by 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 250 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_crossoutDNPFPsOnFabLayers, 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_hideDNPFPsOnFabLayers, 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_plotPadNumbers, PCB_PLOT_PARAMS::m_plotReference, PCB_PLOT_PARAMS::m_plotValue, PCB_PLOT_PARAMS::m_scale, PCB_PLOT_PARAMS::m_scaleSelection, PCB_PLOT_PARAMS::m_sketchDNPFPsOnFabLayers, 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().
|
inherited |
Definition at line 244 of file pcb_plot_params.cpp.
References PCB_PLOT_PARAMS_PARSER::Parse().
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 437 of file plot_brditems_plotter.cpp.
References PCB_TABLE::GetCells(), 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(), PLOTTER::SetTextMode(), 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 503 of file plot_brditems_plotter.cpp.
References SEG::A, SEG::B, color, PCB_PLOT_PARAMS::ColorSettings(), COLOR_SETTINGS::GetColor(), BOARD_ITEM::GetFontMetrics(), BOARD_ITEM::GetLayer(), PCB_DIMENSION_BASE::GetLineThickness(), PCB_DIMENSION_BASE::GetShapes(), LIGHTGRAY, m_layerMask, m_plotter, PlotShape(), PlotText(), PLOTTER::SetColor(), EDA_SHAPE::SetEnd(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetShape(), EDA_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), SH_CIRCLE, SH_SEGMENT, 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 1211 of file plot_brditems_plotter.cpp.
References PADSTACK::ALL_LAYERS, LSET::AllCuMask(), ANGLE_0, BLACK, FILLED, BOARD::Footprints(), ADVANCED_CFG::GetCfg(), PCB_PLOT_PARAMS::GetDrillMarksType(), PCB_PLOT_PARAMS::GetPlotMode(), m_board, m_layerMask, m_plotter, ADVANCED_CFG::m_SmallDrillMarkSize, EDA_IU_SCALE::mmToIU(), pad, PCB_VIA_T, pcbIUScale, plotOneDrillMark(), PLOTTER::SetColor(), BOARD::Tracks(), via, and WHITE.
Referenced by PlotStandardLayer().
void BRDITEMS_PLOTTER::PlotFootprintGraphicItems | ( | const FOOTPRINT * | aFootprint | ) |
Definition at line 612 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_SHAPE_T, PCB_TEXT_T, PCB_TEXTBOX_T, PlotDimension(), PlotShape(), PlotText(), PLOTTER::SetTextMode(), and UNIMPLEMENTED_FOR.
Referenced by PlotStandardLayer().
void BRDITEMS_PLOTTER::PlotFootprintTextItems | ( | const FOOTPRINT * | aFootprint | ) |
Definition at line 354 of file plot_brditems_plotter.cpp.
References crossoutDNPItems(), Edge_Cuts, FOOTPRINT::Fields(), BOARD_ITEM::GetFontMetrics(), BOARD_ITEM::GetLayer(), PCB_PLOT_PARAMS::GetPlotFPText(), PCB_PLOT_PARAMS::GetPlotInvisibleText(), 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 1183 of file plot_brditems_plotter.cpp.
References PLOTTER::FlashPadCircle(), PLOTTER::FlashPadOval(), getFineWidthAdj(), PCB_PLOT_PARAMS::GetPlotMode(), m_plotter, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PlotDrillMarks().
void BRDITEMS_PLOTTER::PlotPad | ( | const PAD * | aPad, |
PCB_LAYER_ID | aLayer, | ||
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 145 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().
Definition at line 76 of file plot_brditems_plotter.cpp.
References PADSTACK::ALL_LAYERS, ANGLE_90, BOX2< Vec >::Centre(), PAD::GetBoundingBox(), PAD::GetNumber(), PAD::GetOrientation(), PAD::GetPrimitives(), PAD::GetShape(), BOX2< Vec >::GetSize(), PAD::GetSize(), KiROUND(), TEXT_ATTRIBUTES::m_Angle, m_plotter, TEXT_ATTRIBUTES::m_Size, TEXT_ATTRIBUTES::m_StrokeWidth, EDA_IU_SCALE::mmToIU(), pcbIUScale, PLOTTER::PlotText(), PrintableCharCount(), 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 558 of file plot_brditems_plotter.cpp.
References getColor(), BOARD_ITEM::GetLayer(), PCB_TARGET::GetPosition(), PCB_TARGET::GetShape(), PCB_TARGET::GetSize(), EDA_SHAPE::GetStart(), PCB_TARGET::GetWidth(), m_layerMask, m_plotter, PlotShape(), PLOTTER::SetColor(), EDA_SHAPE::SetEnd(), EDA_SHAPE::SetFilled(), PCB_SHAPE::SetLayer(), EDA_SHAPE::SetShape(), EDA_SHAPE::SetStart(), PCB_SHAPE::SetStroke(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PlotBoardGraphicItem().
void BRDITEMS_PLOTTER::PlotShape | ( | const PCB_SHAPE * | aShape | ) |
Definition at line 832 of file plot_brditems_plotter.cpp.
References SEG::A, std::abs(), LSET::AllCuMask(), SHAPE_POLY_SET::Append(), EDA_ANGLE::AsDegrees(), SEG::B, B_Fab, B_Mask, PLOTTER::BezierCurve(), SHAPE_POLY_SET::CIterateSegments(), SHAPE_POLY_SET::CloneDropTriangulation(), SHAPE_POLY_SET::COutline(), Edge_Cuts, F_Fab, F_Mask, 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(), BOARD::GetDesignSettings(), EDA_SHAPE::GetEnd(), PCB_SHAPE::GetLayer(), PCB_SHAPE::GetLayerSet(), 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(), PCB_PLOT_PARAMS::GetSketchDNPFPsOnFabLayers(), PCB_SHAPE::GetSolderMaskExpansion(), EDA_SHAPE::GetStart(), PCB_SHAPE::GetStroke(), PCB_SHAPE::GetWidth(), PCB_SHAPE::HasSolderMask(), SHAPE_POLY_SET::Inflate(), FOOTPRINT::IsDNP(), IsExternalCopperLayer(), EDA_SHAPE::IsFilled(), EDA_SHAPE::IsPolyShapeValid(), m_board, m_layerMask, BOARD_DESIGN_SETTINGS::m_MaxError, m_plotter, EDA_SHAPE::MakeEffectiveShapes(), SHAPE_POLY_SET::NewOutline(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), PLOTTER::PlotPoly(), GERBER_PLOTTER::PlotPolyAsRegion(), 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().
void BRDITEMS_PLOTTER::PlotTableBorders | ( | const PCB_TABLE * | aTable | ) |
Definition at line 1074 of file plot_brditems_plotter.cpp.
References GBR_NETLIST_METADATA::GBR_NETINFO_CMP, PCB_TABLE::GetBorderStroke(), PCB_TABLE::GetCell(), PCB_TABLE::GetColCount(), PCB_TABLECELL::GetColSpan(), EDA_SHAPE::GetEnd(), PCB_TABLE::GetEnd(), EDA_SHAPE::GetEndX(), EDA_SHAPE::GetEndY(), BOARD_ITEM::GetLayer(), BOARD_ITEM::GetParentFootprint(), PCB_PLOT_PARAMS::GetPlotMode(), PCB_TABLE::GetPosition(), PCB_TABLE::GetRowCount(), PCB_TABLECELL::GetRowSpan(), PCB_TABLE::GetSeparatorsStroke(), EDA_SHAPE::GetStartX(), EDA_SHAPE::GetStartY(), STROKE_PARAMS::GetWidth(), m_layerMask, m_plotter, PLOTTER::RenderSettings(), GBR_METADATA::SetCmpReference(), GBR_METADATA::SetNetAttribType(), STROKE_PARAMS::Stroke(), PCB_TABLE::StrokeColumns(), PCB_TABLE::StrokeExternal(), PCB_TABLE::StrokeHeader(), PCB_TABLE::StrokeRows(), PLOTTER::ThickSegment(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by PlotBoardGraphicItem().
void BRDITEMS_PLOTTER::PlotText | ( | const EDA_TEXT * | aText, |
PCB_LAYER_ID | aLayer, | ||
bool | aIsKnockout, | ||
const KIFONT::METRICS & | aFontMetrics, | ||
bool | aStrikeout = false |
||
) |
Definition at line 669 of file plot_brditems_plotter.cpp.
References ARC_LOW_DEF, SHAPE_POLY_SET::BBox(), color, ERROR_INSIDE, FILLED, SHAPE_POLY_SET::Fracture(), GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_NONCONDUCTOR, EDA_TEXT::GetAttributes(), BOX2< Vec >::GetBottom(), getColor(), KIGFX::RENDER_SETTINGS::GetDefaultFont(), BOARD::GetDesignSettings(), EDA_TEXT::GetDrawRotation(), EDA_TEXT::GetEffectiveTextPenWidth(), EDA_TEXT::GetFont(), KIFONT::FONT::GetFont(), BOX2< Vec >::GetLeft(), EDA_TEXT::GetLinePositions(), BOX2< Vec >::GetRight(), EDA_TEXT::GetShownText(), EDA_TEXT::GetTextPos(), BOX2< Vec >::GetTop(), EDA_TEXT::IsBold(), IsCopperLayer(), EDA_TEXT::IsItalic(), EDA_TEXT::IsMultilineAllowed(), TEXT_ATTRIBUTES::m_Angle, m_board, m_layerMask, BOARD_DESIGN_SETTINGS::m_MaxError, TEXT_ATTRIBUTES::m_Multiline, m_plotter, TEXT_ATTRIBUTES::m_StrokeWidth, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), PLOTTER::PlotPoly(), PLOTTER::PlotText(), SHAPE_POLY_SET::PM_FAST, PLOTTER::RenderSettings(), SHAPE_POLY_SET::Rotate(), RotatePoint(), GBR_METADATA::SetApertureAttrib(), PLOTTER::SetColor(), PLOTTER::SetCurrentLineWidth(), text, PLOTTER::ThickSegment(), 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 770 of file plot_brditems_plotter.cpp.
References PLOTTER::EndBlock(), FILLED, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_CONDUCTOR, GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_NONCONDUCTOR, GBR_NETLIST_METADATA::GBR_NETINFO_NET, getColor(), BOARD_CONNECTED_ITEM::GetNetname(), PCB_PLOT_PARAMS::GetPlotMode(), PLOTTER::GetPlotterType(), SHAPE_POLY_SET::IsEmpty(), ZONE::IsOnCopperLayer(), m_plotter, SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), PLOTTER::PlotPoly(), GBR_METADATA::SetApertureAttrib(), PLOTTER::SetColor(), GBR_METADATA::SetCopper(), PLOTTER::SetCurrentLineWidth(), GBR_METADATA::SetNetAttribType(), GBR_METADATA::SetNetName(), and PLOTTER::StartBlock().
Referenced by PlotSolderMaskLayer(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 180 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_A4Output.
Referenced by DIALOG_PLOT::applyPlotSettings().
|
inlineinherited |
Definition at line 96 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_autoScale.
Referenced by DIALOG_PLOT::Plot().
|
inlineinherited |
Definition at line 158 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_blackAndWhite.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportPdf(), and DIALOG_PLOT::loadPlotParamsFromJob().
|
inlineinherited |
Definition at line 57 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_colors.
Referenced by PCBNEW_JOBS_HANDLER::JobExportPdf(), EXPORT_SVG::Plot(), and DIALOG_PLOT::Plot().
|
inlineinherited |
Definition at line 146 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_createGerberJobFile.
Referenced by DIALOG_PLOT::applyPlotSettings(), and DIALOG_PLOT::loadPlotParamsFromJob().
|
inlineinherited |
Definition at line 111 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_crossoutDNPFPsOnFabLayers.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportPdf(), DIALOG_PLOT::loadPlotParamsFromJob(), and EXPORT_SVG::Plot().
|
inlineinherited |
Definition at line 195 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_dashedLineDashRatio.
|
inlineinherited |
Definition at line 198 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_dashedLineGapRatio.
|
inlineinherited |
Definition at line 137 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_gerberDisableApertMacros.
Referenced by DIALOG_PLOT::applyPlotSettings(), DIALOG_PLOT::loadPlotParamsFromJob(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inlineinherited |
Definition at line 83 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_drillMarks.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportPdf(), EXPORT_SVG::Plot(), PlotOneBoardLayer(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inlineinherited |
Definition at line 77 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_DXFPolygonMode.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportDxf(), and PlotOneBoardLayer().
|
inlineinherited |
Definition at line 80 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_DXFUnits.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportDxf(), and DIALOG_PLOT::loadPlotParamsFromJob().
|
inlineinherited |
Definition at line 89 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_fineScaleAdjustX.
Referenced by DIALOG_PLOT::Plot().
|
inlineinherited |
Definition at line 91 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_fineScaleAdjustY.
Referenced by DIALOG_PLOT::Plot().
|
inlineinherited |
Definition at line 131 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_format.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportPdf(), DIALOG_PLOT::loadPlotParamsFromJob(), PLOT_CONTROLLER::OpenPlotfile(), EXPORT_SVG::Plot(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and PCB_EDIT_FRAME::ToPlotter().
|
inherited |
Definition at line 158 of file pcb_plot_params.cpp.
References gbrDefaultPrecision, and PCB_PLOT_PARAMS::m_gerberPrecision.
Referenced by DIALOG_PLOT::applyPlotSettings(), DIALOG_PLOT::loadPlotParamsFromJob(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inlineinherited |
Definition at line 107 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_hideDNPFPsOnFabLayers.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportPdf(), DIALOG_PLOT::loadPlotParamsFromJob(), and EXPORT_SVG::Plot().
|
inherited |
Definition at line 394 of file pcb_plot_params.cpp.
References HPGL_PEN_DIAMETER_MAX, HPGL_PEN_DIAMETER_MIN, PCB_PLOT_PARAMS::m_HPGLPenDiam, and setDouble().
Referenced by DIALOG_PLOT::applyPlotSettings().
|
inlineinherited |
Definition at line 192 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_HPGLPenNum.
|
inherited |
Definition at line 400 of file pcb_plot_params.cpp.
References HPGL_PEN_SPEED_MAX, HPGL_PEN_SPEED_MIN, PCB_PLOT_PARAMS::m_HPGLPenSpeed, and setInt().
|
inlineinherited |
Definition at line 143 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_includeGerberNetlistInfo.
Referenced by DIALOG_PLOT::applyPlotSettings(), DIALOG_PLOT::loadPlotParamsFromJob(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inlineinherited |
Definition at line 164 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_layerSelection.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportPdf(), and DIALOG_PLOT::loadPlotParamsFromJob().
|
inline |
Definition at line 86 of file pcbplot.h.
References m_layerMask.
Referenced by PLACEFILE_GERBER_WRITER::CreatePlaceFile(), GENDRILL_WRITER_BASE::genDrillMapFile(), PlotLayerOutlines(), PlotSolderMaskLayer(), and PlotStandardLayer().
|
inlineinherited |
Definition at line 99 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_mirror.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportPdf(), DIALOG_PLOT::loadPlotParamsFromJob(), EXPORT_SVG::Plot(), and StartPlotBoard().
|
inlineinherited |
Definition at line 123 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_negative.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportPdf(), DIALOG_PLOT::loadPlotParamsFromJob(), and EXPORT_SVG::Plot().
|
inlineinherited |
Definition at line 134 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_outputDirectory.
Referenced by DIALOG_PLOT::applyPlotSettings(), DIALOG_PLOT::init_Dialog(), and DIALOG_GENDRILL::UpdateDrillParams().
|
inlineinherited |
Definition at line 120 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotFPText.
|
inlineinherited |
Definition at line 128 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotDrawingSheet.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportPdf(), EXPORT_SVG::Plot(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inlineinherited |
Definition at line 114 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotInvisibleText.
Referenced by DIALOG_PLOT::applyPlotSettings().
|
inlineinherited |
Definition at line 71 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotMode.
Referenced by DIALOG_PLOT::applyPlotSettings(), DIALOG_PLOT::loadPlotParamsFromJob(), and PCB_PLOT_PARAMS_PARSER::Parse().
|
inlineinherited |
Definition at line 167 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotOnAllLayersSelection.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportGerber(), PCBNEW_JOBS_HANDLER::JobExportPdf(), and DIALOG_PLOT::loadPlotParamsFromJob().
|
inlineinherited |
Definition at line 74 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotPadNumbers.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportPdf(), DIALOG_PLOT::loadPlotParamsFromJob(), and EXPORT_SVG::Plot().
|
inlineinherited |
Definition at line 118 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotReference.
Referenced by PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportPdf(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inlineinherited |
Definition at line 116 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_plotValue.
Referenced by PCBNEW_JOBS_HANDLER::JobExportDxf(), PCBNEW_JOBS_HANDLER::JobExportPdf(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inlineinherited |
Definition at line 86 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_scale.
Referenced by DIALOG_PLOT::Plot().
|
inlineinherited |
Definition at line 177 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_scaleSelection.
Referenced by DIALOG_PLOT::applyPlotSettings().
|
inlineinherited |
Definition at line 109 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_sketchDNPFPsOnFabLayers.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportPdf(), DIALOG_PLOT::loadPlotParamsFromJob(), and EXPORT_SVG::Plot().
|
inlineinherited |
Definition at line 104 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_sketchPadLineWidth.
Referenced by DIALOG_PLOT::Plot().
|
inlineinherited |
Definition at line 102 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_sketchPadsOnFabLayers.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportPdf(), DIALOG_PLOT::loadPlotParamsFromJob(), and EXPORT_SVG::Plot().
|
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().
|
inlineinherited |
Definition at line 161 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_subtractMaskFromSilk.
Referenced by DIALOG_PLOT::applyPlotSettings(), DIALOG_PLOT::loadPlotParamsFromJob(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inherited |
Definition at line 170 of file pcb_plot_params.cpp.
References PCB_PLOT_PARAMS::m_svgPrecision, SVG_PRECISION_MAX, and SVG_PRECISION_MIN.
Referenced by DIALOG_PLOT::applyPlotSettings(), DIALOG_PLOT::loadPlotParamsFromJob(), and EXPORT_SVG::Plot().
|
inlineinherited |
Definition at line 61 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_textMode.
Referenced by DIALOG_PLOT::applyPlotSettings().
|
inlineinherited |
Definition at line 174 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_useAuxOrigin.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCBNEW_JOBS_HANDLER::JobExportDxf(), DIALOG_PLOT::loadPlotParamsFromJob(), EXPORT_SVG::Plot(), PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob(), and DIALOG_GENDRILL::UpdateDrillParams().
|
inlineinherited |
Definition at line 149 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_useGerberProtelExtensions.
Referenced by DIALOG_PLOT::applyPlotSettings(), DIALOG_PLOT::loadPlotParamsFromJob(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inlineinherited |
Definition at line 140 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_useGerberX2format.
Referenced by DIALOG_PLOT::applyPlotSettings(), DIALOG_PLOT::loadPlotParamsFromJob(), and PCBNEW_JOBS_HANDLER::populateGerberPlotOptionsFromJob().
|
inlineinherited |
Definition at line 93 of file pcb_plot_params.h.
References PCB_PLOT_PARAMS::m_widthAdjust.
Referenced by DIALOG_PLOT::Plot().
|
privateinherited |
In polygon mode, each item to plot is converted to a polygon and all polygons are merged.
Definition at line 224 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().
|
privateinherited |
Autoscale the plot to fit an A4 (landscape?) sheet.
Definition at line 225 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().
|
privateinherited |
Plot in negative color (supported only by some drivers)
Definition at line 230 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().
|
private |
Definition at line 153 of file pcbplot.h.
Referenced by PlotDrillMarks(), PlotShape(), and PlotText().
|
privateinherited |
Definition at line 305 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::ColorSettings(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetColorSettings().
|
privateinherited |
generate the auxiliary "job file" in gerber format
Definition at line 254 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetCreateGerberJobFile(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetCreateGerberJobFile().
|
privateinherited |
Definition at line 283 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetCrossoutDNPFPsOnFabLayers(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetCrossoutDNPFPsOnFabLayers().
|
privateinherited |
Definition at line 302 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetDashedLineDashRatio(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetDashedLineDashRatio().
|
privateinherited |
Definition at line 303 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetDashedLineGapRatio(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::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 308 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::PCB_PLOT_PARAMS().
|
privateinherited |
Plot pad numbers when sketching pads on fab layers.
Definition at line 216 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetDrillMarksType(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetDrillMarksType().
|
privateinherited |
Definition at line 221 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetDXFPlotPolygonMode(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetDXFPlotPolygonMode().
|
privateinherited |
Definition at line 220 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetDXFPlotUnits(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetDXFPlotUnits().
|
privateinherited |
Compensation for printer scale errors (and therefore.
Definition at line 285 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().
|
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 286 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().
|
privateinherited |
Definition at line 209 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetFormat(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetFormat().
|
privateinherited |
Disable aperture macros in Gerber format (only for broken Gerber readers).
Ideally, should be never selected.
Definition at line 248 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().
|
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 260 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().
|
privateinherited |
Definition at line 281 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetHideDNPFPsOnFabLayers(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetHideDNPFPsOnFabLayers().
|
privateinherited |
HPGL only: pen diameter in MILS, useful to fill areas However, it is in mm in hpgl files.
Definition at line 299 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().
|
privateinherited |
HPGL only: pen number selection(1 to 9)
Definition at line 297 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetHPGLPenNum(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetHPGLPenNum().
|
privateinherited |
HPGL only: pen speed, always in cm/s (1 to 99 cm/s)
Definition at line 298 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetHPGLPenSpeed(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetHPGLPenSpeed().
|
privateinherited |
Include netlist info (only in Gerber X2 format) (chapter ? in revision ?)
Definition at line 251 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetIncludeGerberNetlistInfo(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::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 210 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetLayerSelection(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetLayerSelection().
|
privateinherited |
Global scale factor, 1.0 plots a board at actual size.
Definition at line 227 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetMirror(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetMirror().
|
privateinherited |
Mirror the plot around the X axis.
Definition at line 229 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetNegative(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetNegative().
|
privateinherited |
Output directory for plot files (usually relative to the board file)
Definition at line 269 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetOutputDirectory(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetOutputDirectory().
|
inherited |
on front and/or back of board
Definition at line 203 of file pcb_plot_params.h.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCB_PLOT_PARAMS::Format(), DIALOG_PLOT::init_Dialog(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PlotInteractiveLayer().
|
inherited |
Generate PDF property popup menus for footprints.
Definition at line 202 of file pcb_plot_params.h.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCB_PLOT_PARAMS::Format(), DIALOG_PLOT::init_Dialog(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PlotInteractiveLayer().
|
inherited |
Generate PDF metadata for SUBJECT and AUTHOR.
Definition at line 204 of file pcb_plot_params.h.
Referenced by DIALOG_PLOT::applyPlotSettings(), PCB_PLOT_PARAMS::Format(), DIALOG_PLOT::init_Dialog(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and DIALOG_PLOT::Plot().
|
privateinherited |
Plot in black and white only.
Definition at line 231 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetPlotFrameRef(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetPlotFrameRef().
|
privateinherited |
Definition at line 275 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetPlotFPText(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetPlotFPText().
|
privateinherited |
Force plotting of fields marked invisible.
Definition at line 276 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetPlotInvisibleText(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetPlotInvisibleText().
|
privateinherited |
Used to disable NPTH pads plotting on copper layers.
Definition at line 214 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().
|
privateinherited |
Definition at line 211 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetPlotOnAllLayersSelection(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), and PCB_PLOT_PARAMS::SetPlotOnAllLayersSelection().
|
privateinherited |
FILLED or SKETCH for filled objects.
Definition at line 215 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetPlotPadNumbers(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetPlotPadNumbers().
|
privateinherited |
Enable plotting of part references.
Definition at line 273 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetPlotReference(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetPlotReference().
|
private |
Definition at line 152 of file pcbplot.h.
Referenced by PlotBoardGraphicItem(), PlotDimension(), PlotDrillMarks(), PlotFootprintGraphicItems(), plotOneDrillMark(), PlotPad(), PlotPadNumber(), PlotPcbTarget(), PlotShape(), PlotTableBorders(), PlotText(), and PlotZone().
|
privateinherited |
Enable plotting of part values.
Definition at line 274 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetPlotValue(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetPlotValue().
|
privateinherited |
Definition at line 233 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetLegacyPlotViaOnMaskLayer(), and PCB_PLOT_PARAMS_PARSER::Parse().
|
privateinherited |
When true set the scale to fit the board in the page.
Definition at line 226 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().
|
privateinherited |
Scale ratio index (UI only)
Definition at line 271 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetScaleSelection(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetScaleSelection().
|
privateinherited |
Definition at line 282 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetSketchDNPFPsOnFabLayers(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetSketchDNPFPsOnFabLayers().
|
privateinherited |
Definition at line 279 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetSketchPadLineWidth(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetSketchPadLineWidth().
|
privateinherited |
Plots pads outlines on fab layers.
Definition at line 278 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetSketchPadsOnFabLayers(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetSketchPadsOnFabLayers().
|
privateinherited |
Definition at line 213 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::GetSkipPlotNPTH_Pads(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetSkipPlotNPTH_Pads().
|
privateinherited |
Deprecated; only used for reading legacy files.
Definition at line 235 of file pcb_plot_params.h.
Referenced by PCB_PLOT_PARAMS::Format(), PCB_PLOT_PARAMS::GetSubtractMaskFromSilk(), PCB_PLOT_PARAMS::IsSameAs(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), and PCB_PLOT_PARAMS::SetSubtractMaskFromSilk().
|
privateinherited |
Precision of coordinates in SVG: accepted 3 - 6; 6 is the internal resolution of Pcbnew.
Definition at line 263 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().
|
privateinherited |
Holes can be not plotted, have a small mark, or be plotted in actual size.
Definition at line 218 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().
|
privateinherited |
Plot gerbers using auxiliary (drill) origin instead of absolute coordinates.
Definition at line 265 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().
|
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 241 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().
|
privateinherited |
Include attributes from the Gerber X2 format (chapter 5 in revision J2)
Definition at line 244 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().
|
privateinherited |
Compensation for PS printers/plotters that do not strictly obey line width settings.
Only used to plot pads and tracks.
Definition at line 293 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().