55#define PLOT_MIN_SCALE 0.01
56#define PLOT_MAX_SCALE 100.0
92 bool aStrikeout =
false )
const;
157 const VECTOR2I& aPadSize,
const EDA_ANGLE& aOrientation,
int aSmallDrill )
const;
166 const wxString& aLayerName,
const wxString& aFullFileName,
167 const wxString& aSheetName,
const wxString& aSheetPath,
168 const wxString& aPageName = wxT(
"1" ),
169 const wxString& aPageNumber = wxEmptyString,
170 const int aPageCount = 1);
173 const wxString& aLayerName,
const wxString& aSheetName,
174 const wxString& aSheetPath,
const wxString& aPageNumber,
274 bool aUseX1CompatibilityMode =
false );
294 bool aUseX1CompatibilityMode );
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Information pertinent to a Pcbnew printed circuit board.
void SetLayerSet(const LSET &aLayerMask)
void PlotFootprintGraphicItems(const FOOTPRINT *aFootprint) const
void PlotBoardGraphicItem(const BOARD_ITEM *item) const
Plot items like text and graphics but not tracks and footprints.
void PlotText(const EDA_TEXT *aText, PCB_LAYER_ID aLayer, bool aIsKnockout, const KIFONT::METRICS &aFontMetrics, bool aStrikeout=false) const
void PlotPadNumber(const PAD *aPad, const COLOR4D &aColor) const
void PlotDimension(const PCB_DIMENSION_BASE *aDim) const
void PlotDrillSymbols(PCB_LAYER_ID aLayer) const
Draw each hole's chart symbol on aLayer, from the board's shared symbol profile.
void PlotZone(const ZONE *aZone, PCB_LAYER_ID aLayer, const SHAPE_POLY_SET &aPolysList) const
void plotOneDrillMark(PAD_DRILL_SHAPE aDrillShape, const VECTOR2I &aDrillPos, const VECTOR2I &aDrillSize, const VECTOR2I &aPadSize, const EDA_ANGLE &aOrientation, int aSmallDrill) const
Helper function to plot a single drill mark.
bool crossoutDNPItems(PCB_LAYER_ID aLayer) const
void PlotTableBorders(const PCB_TABLE *aTable) const
bool hideDNPItems(PCB_LAYER_ID aLayer) const
void PlotFootprintTextItems(const FOOTPRINT *aFootprint) const
void PlotPcbTarget(const PCB_TARGET *aMire) const
COLOR4D getColor(int aLayer) const
White color is special because it cannot be seen on a white paper in B&W mode.
void PlotDrillMarks() const
Draw a drill mark for pads and vias.
void PlotShape(const PCB_SHAPE *aShape) const
int getFineWidthAdj() const
BRDITEMS_PLOTTER(PLOTTER *aPlotter, const BOARD *aBoard, const PCB_PLOT_PARAMS &aPlotOpts)
void PlotBarCode(const PCB_BARCODE *aBarCode) const
void PlotChartSymbols(const PCB_DRILL_CHART *aChart) const
Shape marks in a chart's symbol column, which carry no cell text of their own.
void PlotPad(const PAD *aPad, PCB_LAYER_ID aLayer, const COLOR4D &aColor, bool aSketchMode) const
Plot a pad.
A mix-in class (via multiple inheritance) that handles texts such as labels, parts,...
FONT is an abstract base class for both outline and stroke fonts.
A color representation with 4 components: red, green, blue, alpha.
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
LSET is a set of PCB_LAYER_IDs.
A drill chart placed on the board, kept in step with the holes.
Parameters and options when plotting/printing a board.
PLOT_FORMAT GetFormat() const
bool GetHideDNPFPsOnFabLayers() const
int GetWidthAdjust() const
bool GetCrossoutDNPFPsOnFabLayers() const
Base plotter engine class.
A pure virtual class used to derive REPORTER objects from.
Represent a set of closed polygons.
Handle a list of polygons defining a copper zone.
PCB_LAYER_ID
A quick note on layer IDs:
PAD_DRILL_SHAPE
The set of pad drill shapes, used with PAD::{Set,Get}DrillShape()
void PlotStandardLayer(BOARD *aBoard, PLOTTER *aPlotter, const LSET &aLayerMask, const PCB_PLOT_PARAMS &aPlotOpt)
Plot copper or technical layers.
const wxString GetGerberProtelExtension(int aLayer)
PLOTTER * StartPlotBoard(BOARD *aBoard, const PCB_PLOT_PARAMS *aPlotOpts, int aLayer, const wxString &aLayerName, const wxString &aFullFileName, const wxString &aSheetName, const wxString &aSheetPath, const wxString &aPageName=wxT("1"), const wxString &aPageNumber=wxEmptyString, const int aPageCount=1)
Open a new plotfile using the options (and especially the format) specified in the options and prepar...
void AddGerberX2Header(PLOTTER *aPlotter, const BOARD *aBoard, bool aUseX1CompatibilityMode=false)
Calculate some X2 attributes as defined in the Gerber file format specification J4 (chapter 5) and ad...
const wxString GetGerberFileFunctionAttribute(const BOARD *aBoard, int aLayer)
Return the "file function" attribute for aLayer, as defined in the Gerber file format specification J...
void setupPlotterNewPDFPage(PLOTTER *aPlotter, BOARD *aBoard, PCB_PLOT_PARAMS *aPlotOpts, const wxString &aLayerName, const wxString &aSheetName, const wxString &aSheetPath, const wxString &aPageNumber, int aPageCount)
void PlotBoardLayers(BOARD *aBoard, PLOTTER *aPlotter, const LSEQ &aLayerSequence, const PCB_PLOT_PARAMS &aPlotOptions)
Plot a sequence of board layer IDs.
void PlotInteractiveLayer(BOARD *aBoard, PLOTTER *aPlotter, const PCB_PLOT_PARAMS &aPlotOpt)
Plot interactive items (hypertext links, properties, etc.) for the footprints the page drew.
void AddGerberX2Attribute(PLOTTER *aPlotter, const BOARD *aBoard, int aLayer, bool aUseX1CompatibilityMode)
Calculate some X2 attributes as defined in the Gerber file format specification and add them to the g...
void PlotOneBoardLayer(BOARD *aBoard, PLOTTER *aPlotter, PCB_LAYER_ID aLayer, const PCB_PLOT_PARAMS &aPlotOpt, bool isPrimaryLayer)
Plot one copper or technical layer.
void PlotLayerOutlines(BOARD *aBoard, PLOTTER *aPlotter, const LSET &aLayerMask, const PCB_PLOT_PARAMS &aPlotOpt)
Plot copper outline of a copper layer.
VECTOR2< int32_t > VECTOR2I