54 #define PLOT_MIN_SCALE 0.01 55 #define PLOT_MAX_SCALE 100.0 139 const wxSize& aDrillSize,
const wxSize& aPadSize,
140 double aOrientation,
int aSmallDrill );
150 const wxString& aFullFileName,
151 const wxString& aSheetDesc );
215 const wxString& aOutputDir,
216 const wxString& aSuffix,
217 const wxString& aExtension );
253 bool aUseX1CompatibilityMode =
false );
273 LAYER_NUM aLayer,
bool aUseX1CompatibilityMode );
void PlotPcbTarget(const PCB_TARGET *aMire)
COLOR4D getColor(LAYER_NUM aLayer) const
White color is special because it cannot be seen on a white paper in B&W mode.
void plotOneDrillMark(PAD_DRILL_SHAPE_T aDrillShape, const wxPoint &aDrillPos, const wxSize &aDrillSize, const wxSize &aPadSize, double aOrientation, int aSmallDrill)
Helper function to plot a single drill mark.
int GetWidthAdjust() const
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...
void PlotFootprintGraphicItems(const FOOTPRINT *aFootprint)
void PlotOneBoardLayer(BOARD *aBoard, PLOTTER *aPlotter, PCB_LAYER_ID aLayer, const PCB_PLOT_PARAMS &aPlotOpt)
Plot one copper or technical layer.
PLOTTER * StartPlotBoard(BOARD *aBoard, const PCB_PLOT_PARAMS *aPlotOpts, int aLayer, const wxString &aFullFileName, const wxString &aSheetDesc)
Open a new plotfile using the options (and especially the format) specified in the options and prepar...
void PlotDrillMarks()
Draw a drill mark for pads and vias.
void PlotPcbText(const PCB_TEXT *aText)
const wxString GetGerberProtelExtension(LAYER_NUM aLayer)
int LAYER_NUM
This can be replaced with int and removed.
void PlotFootprintGraphicItem(const FP_SHAPE *aShape)
void PlotPad(const PAD *aPad, const COLOR4D &aColor, OUTLINE_MODE aPlotMode)
Plot a pad.
void PlotFootprintTextItems(const FOOTPRINT *aFootprint)
A pure virtual class used to derive REPORTER objects from.
PAD_DRILL_SHAPE_T
The set of pad drill shapes, used with PAD::{Set,Get}DrillShape()
void BuildPlotFileName(wxFileName *aFilename, const wxString &aOutputDir, const wxString &aSuffix, const wxString &aExtension)
Complete a plot filename.
LSET is a set of PCB_LAYER_IDs.
PLOT_FORMAT GetFormat() const
void SetLayerSet(LSET aLayerMask)
Represent a set of closed polygons.
void PlotBoardGraphicItems()
Plot items like text and graphics but not tracks and footprints.
void PlotStandardLayer(BOARD *aBoard, PLOTTER *aPlotter, LSET aLayerMask, const PCB_PLOT_PARAMS &aPlotOpt)
Plot copper or technical layers.
int getFineWidthAdj() const
const wxString GetGerberFileFunctionAttribute(const BOARD *aBoard, LAYER_NUM aLayer)
Return the "file function" attribute for aLayer, as defined in the Gerber file format specification J...
Handle a list of polygons defining a copper zone.
Parameters and options when plotting/printing a board.
void AddGerberX2Attribute(PLOTTER *aPlotter, const BOARD *aBoard, LAYER_NUM aLayer, bool aUseX1CompatibilityMode)
Calculate some X2 attributes as defined in the Gerber file format specification and add them to the g...
void PlotFilledAreas(const ZONE *aZone, const SHAPE_POLY_SET &aPolysList)
Base plotter engine class.
Information pertinent to a Pcbnew printed circuit board.
void PlotPcbShape(const PCB_SHAPE *aShape)
PCB_LAYER_ID
A quick note on layer IDs:
void PlotLayerOutlines(BOARD *aBoard, PLOTTER *aPlotter, LSET aLayerMask, const PCB_PLOT_PARAMS &aPlotOpt)
Plot copper outline of a copper layer.
BRDITEMS_PLOTTER(PLOTTER *aPlotter, BOARD *aBoard, const PCB_PLOT_PARAMS &aPlotOpts)
void PlotDimension(const PCB_DIMENSION_BASE *aDim)
void PlotFootprintTextItem(const FP_TEXT *aText, const COLOR4D &aColor)
A color representation with 4 components: red, green, blue, alpha.