2012-01-09 08:35:06 +00:00
|
|
|
#ifndef PCB_PLOT_PARAMS_H_
|
|
|
|
#define PCB_PLOT_PARAMS_H_
|
2011-01-28 22:54:16 +00:00
|
|
|
/*
|
2011-09-30 18:15:37 +00:00
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
2011-01-28 22:54:16 +00:00
|
|
|
*
|
2022-01-28 17:06:47 +00:00
|
|
|
* Copyright (C) 1992-2022 KiCad Developers, see AUTHORS.txt for contributors.
|
2011-01-28 22:54:16 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2021-08-18 20:38:14 +00:00
|
|
|
#include <plotters/plotter.h>
|
2021-07-29 09:47:43 +00:00
|
|
|
#include <layer_ids.h>
|
2022-11-12 07:48:25 +00:00
|
|
|
#include <plotprint_opts.h>
|
2011-01-28 22:54:16 +00:00
|
|
|
|
2020-01-13 01:44:19 +00:00
|
|
|
class COLOR_SETTINGS;
|
2014-10-13 08:40:34 +00:00
|
|
|
class PCB_PLOT_PARAMS_PARSER;
|
2012-11-27 19:57:38 +00:00
|
|
|
|
2011-01-28 22:54:16 +00:00
|
|
|
/**
|
2021-06-04 13:04:30 +00:00
|
|
|
* Parameters and options when plotting/printing a board.
|
2011-01-28 22:54:16 +00:00
|
|
|
*/
|
|
|
|
class PCB_PLOT_PARAMS
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
PCB_PLOT_PARAMS();
|
|
|
|
|
2012-09-24 06:39:59 +00:00
|
|
|
void SetSkipPlotNPTH_Pads( bool aSkip ) { m_skipNPTH_Pads = aSkip; }
|
|
|
|
bool GetSkipPlotNPTH_Pads() const { return m_skipNPTH_Pads; }
|
|
|
|
|
2017-06-08 21:47:21 +00:00
|
|
|
void Format( OUTPUTFORMATTER* aFormatter, int aNestLevel, int aControl=0 ) const;
|
|
|
|
void Parse( PCB_PLOT_PARAMS_PARSER* aParser );
|
2011-01-28 22:54:16 +00:00
|
|
|
|
2017-07-31 12:28:35 +00:00
|
|
|
/**
|
2021-06-04 13:04:30 +00:00
|
|
|
* Compare current settings to aPcbPlotParams, including not saved parameters in brd file.
|
|
|
|
*
|
|
|
|
* @param aPcbPlotParams is the #PCB_PLOT_PARAMS to compare/
|
|
|
|
* @param aCompareOnlySavedPrms set to true to compare only saved in file parameters,
|
|
|
|
* or false to compare the full set of parameters.
|
|
|
|
* @return true is parameters are same, false if one (or more) parameter does not match.
|
2017-07-31 12:28:35 +00:00
|
|
|
*/
|
2021-01-03 13:59:23 +00:00
|
|
|
bool IsSameAs( const PCB_PLOT_PARAMS &aPcbPlotParams ) const;
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2020-01-13 01:44:19 +00:00
|
|
|
void SetColorSettings( COLOR_SETTINGS* aSettings ) { m_colors = aSettings; }
|
|
|
|
|
|
|
|
COLOR_SETTINGS* ColorSettings() const { return m_colors; }
|
|
|
|
|
2019-12-28 00:55:11 +00:00
|
|
|
void SetTextMode( PLOT_TEXT_MODE aVal )
|
|
|
|
{
|
|
|
|
m_textMode = aVal;
|
|
|
|
}
|
|
|
|
|
|
|
|
PLOT_TEXT_MODE GetTextMode() const
|
|
|
|
{
|
|
|
|
return m_textMode;
|
|
|
|
}
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2020-10-15 23:33:18 +00:00
|
|
|
void SetPlotMode( OUTLINE_MODE aPlotMode ) { m_plotMode = aPlotMode; }
|
|
|
|
OUTLINE_MODE GetPlotMode() const { return m_plotMode; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
void SetDXFPlotPolygonMode( bool aFlag ) { m_DXFPolygonMode = aFlag; }
|
|
|
|
bool GetDXFPlotPolygonMode() const { return m_DXFPolygonMode; }
|
2017-04-22 20:15:08 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
void SetDXFPlotUnits( DXF_UNITS aUnit ) { m_DXFUnits = aUnit; }
|
|
|
|
DXF_UNITS GetDXFPlotUnits() const { return m_DXFUnits; }
|
2019-06-13 00:28:22 +00:00
|
|
|
|
2022-11-12 07:48:25 +00:00
|
|
|
void SetDrillMarksType( DRILL_MARKS aVal ) { m_drillMarks = aVal; }
|
|
|
|
DRILL_MARKS GetDrillMarksType() const { return m_drillMarks; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2012-08-30 18:06:13 +00:00
|
|
|
void SetScale( double aVal ) { m_scale = aVal; }
|
|
|
|
double GetScale() const { return m_scale; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2012-08-30 18:06:13 +00:00
|
|
|
void SetFineScaleAdjustX( double aVal ) { m_fineScaleAdjustX = aVal; }
|
|
|
|
double GetFineScaleAdjustX() const { return m_fineScaleAdjustX; }
|
|
|
|
void SetFineScaleAdjustY( double aVal ) { m_fineScaleAdjustY = aVal; }
|
|
|
|
double GetFineScaleAdjustY() const { return m_fineScaleAdjustY; }
|
2012-09-24 06:39:59 +00:00
|
|
|
void SetWidthAdjust( int aVal ) { m_widthAdjust = aVal; }
|
|
|
|
int GetWidthAdjust() const { return m_widthAdjust; }
|
|
|
|
|
2012-08-30 18:06:13 +00:00
|
|
|
void SetAutoScale( bool aFlag ) { m_autoScale = aFlag; }
|
|
|
|
bool GetAutoScale() const { return m_autoScale; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2012-08-30 18:06:13 +00:00
|
|
|
void SetMirror( bool aFlag ) { m_mirror = aFlag; }
|
|
|
|
bool GetMirror() const { return m_mirror; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2020-05-01 16:24:01 +00:00
|
|
|
void SetSketchPadsOnFabLayers( bool aFlag ) { m_sketchPadsOnFabLayers = aFlag; }
|
|
|
|
bool GetSketchPadsOnFabLayers() const { return m_sketchPadsOnFabLayers; }
|
|
|
|
void SetSketchPadLineWidth( int aWidth ) { m_sketchPadLineWidth = aWidth; }
|
|
|
|
int GetSketchPadLineWidth() const { return m_sketchPadLineWidth; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2012-08-30 18:06:13 +00:00
|
|
|
void SetPlotInvisibleText( bool aFlag ) { m_plotInvisibleText = aFlag; }
|
|
|
|
bool GetPlotInvisibleText() const { return m_plotInvisibleText; }
|
|
|
|
void SetPlotValue( bool aFlag ) { m_plotValue = aFlag; }
|
|
|
|
bool GetPlotValue() const { return m_plotValue; }
|
|
|
|
void SetPlotReference( bool aFlag ) { m_plotReference = aFlag; }
|
|
|
|
bool GetPlotReference() const { return m_plotReference; }
|
2023-08-15 15:56:46 +00:00
|
|
|
void SetPlotFPText( bool aFlag ) { m_plotFPText = aFlag; }
|
|
|
|
bool GetPlotFPText() const { return m_plotFPText; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2012-08-30 18:06:13 +00:00
|
|
|
void SetNegative( bool aFlag ) { m_negative = aFlag; }
|
|
|
|
bool GetNegative() const { return m_negative; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2012-08-30 18:06:13 +00:00
|
|
|
void SetPlotViaOnMaskLayer( bool aFlag ) { m_plotViaOnMaskLayer = aFlag; }
|
|
|
|
bool GetPlotViaOnMaskLayer() const { return m_plotViaOnMaskLayer; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
void SetPlotFrameRef( bool aFlag ) { m_plotDrawingSheet = aFlag; }
|
|
|
|
bool GetPlotFrameRef() const { return m_plotDrawingSheet; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2021-04-16 12:12:55 +00:00
|
|
|
void SetFormat( PLOT_FORMAT aFormat ) { m_format = aFormat; }
|
|
|
|
PLOT_FORMAT GetFormat() const { return m_format; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2021-07-27 12:22:27 +00:00
|
|
|
void SetOutputDirectory( const wxString& aDir ) { m_outputDirectory = aDir; }
|
2014-07-04 14:22:38 +00:00
|
|
|
wxString GetOutputDirectory() const { return m_outputDirectory; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2020-10-10 12:39:54 +00:00
|
|
|
void SetDisableGerberMacros( bool aDisable ) { m_gerberDisableApertMacros = aDisable; }
|
|
|
|
bool GetDisableGerberMacros() const { return m_gerberDisableApertMacros; }
|
|
|
|
|
2018-12-08 16:46:41 +00:00
|
|
|
void SetUseGerberX2format( bool aUse ) { m_useGerberX2format = aUse; }
|
|
|
|
bool GetUseGerberX2format() const { return m_useGerberX2format; }
|
2014-06-19 06:26:53 +00:00
|
|
|
|
2016-09-19 11:01:36 +00:00
|
|
|
void SetIncludeGerberNetlistInfo( bool aUse ) { m_includeGerberNetlistInfo = aUse; }
|
|
|
|
bool GetIncludeGerberNetlistInfo() const { return m_includeGerberNetlistInfo; }
|
|
|
|
|
2017-08-19 16:28:11 +00:00
|
|
|
void SetCreateGerberJobFile( bool aCreate ) { m_createGerberJobFile = aCreate; }
|
|
|
|
bool GetCreateGerberJobFile() const { return m_createGerberJobFile; }
|
|
|
|
|
2015-10-21 06:55:30 +00:00
|
|
|
void SetUseGerberProtelExtensions( bool aUse ) { m_useGerberProtelExtensions = aUse; }
|
|
|
|
bool GetUseGerberProtelExtensions() const { return m_useGerberProtelExtensions; }
|
2014-07-04 14:22:38 +00:00
|
|
|
|
|
|
|
void SetGerberPrecision( int aPrecision );
|
|
|
|
int GetGerberPrecision() const { return m_gerberPrecision; }
|
|
|
|
|
2022-01-28 17:06:47 +00:00
|
|
|
void SetSvgPrecision( unsigned aPrecision );
|
2020-04-20 22:02:03 +00:00
|
|
|
unsigned GetSvgPrecision() const { return m_svgPrecision; }
|
|
|
|
|
2022-10-25 02:45:24 +00:00
|
|
|
void SetBlackAndWhite( bool blackAndWhite ) { m_blackAndWhite = blackAndWhite; }
|
|
|
|
unsigned GetBlackAndWhite() const { return m_blackAndWhite; }
|
|
|
|
|
2022-04-02 13:36:20 +00:00
|
|
|
void SetSubtractMaskFromSilk( bool aSubtract ) { m_subtractMaskFromSilk = aSubtract; }
|
2014-07-04 14:22:38 +00:00
|
|
|
bool GetSubtractMaskFromSilk() const { return m_subtractMaskFromSilk; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2022-04-02 13:36:20 +00:00
|
|
|
void SetLayerSelection( LSET aSelection ) { m_layerSelection = aSelection; }
|
|
|
|
LSET GetLayerSelection() const { return m_layerSelection; }
|
|
|
|
|
|
|
|
void SetPlotOnAllLayersSelection( LSET aSelection )
|
|
|
|
{
|
|
|
|
m_plotOnAllLayersSelection = aSelection;
|
|
|
|
}
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2022-04-02 13:36:20 +00:00
|
|
|
LSET GetPlotOnAllLayersSelection() const { return m_plotOnAllLayersSelection; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2022-04-02 13:36:20 +00:00
|
|
|
void SetUseAuxOrigin( bool aAux ) { m_useAuxOrigin = aAux; }
|
|
|
|
bool GetUseAuxOrigin() const { return m_useAuxOrigin; }
|
2012-09-24 06:39:59 +00:00
|
|
|
|
2022-04-02 13:36:20 +00:00
|
|
|
void SetScaleSelection( int aSelection ) { m_scaleSelection = aSelection; }
|
|
|
|
int GetScaleSelection() const { return m_scaleSelection; }
|
|
|
|
|
|
|
|
void SetA4Output( int aForce ) { m_A4Output = aForce; }
|
|
|
|
bool GetA4Output() const { return m_A4Output; }
|
2012-08-30 18:06:13 +00:00
|
|
|
|
2018-05-26 07:37:21 +00:00
|
|
|
// For historical reasons, this parameter is stored in mils
|
|
|
|
// (but is in mm in hpgl files...)
|
2022-04-02 13:36:20 +00:00
|
|
|
double GetHPGLPenDiameter() const { return m_HPGLPenDiam; }
|
2018-05-26 07:37:21 +00:00
|
|
|
bool SetHPGLPenDiameter( double aValue );
|
|
|
|
|
|
|
|
// This parameter is always in cm, due to hpgl file format constraint
|
2022-04-02 13:36:20 +00:00
|
|
|
int GetHPGLPenSpeed() const { return m_HPGLPenSpeed; }
|
2012-08-30 18:06:13 +00:00
|
|
|
bool SetHPGLPenSpeed( int aValue );
|
2018-05-26 07:37:21 +00:00
|
|
|
|
2012-08-30 18:06:13 +00:00
|
|
|
void SetHPGLPenNum( int aVal ) { m_HPGLPenNum = aVal; }
|
|
|
|
int GetHPGLPenNum() const { return m_HPGLPenNum; }
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2021-08-25 23:14:36 +00:00
|
|
|
void SetDashedLineDashRatio( double aVal ) { m_dashedLineDashRatio = aVal; }
|
|
|
|
double GetDashedLineDashRatio() const { return m_dashedLineDashRatio; }
|
|
|
|
|
|
|
|
void SetDashedLineGapRatio( double aVal ) { m_dashedLineGapRatio = aVal; }
|
|
|
|
double GetDashedLineGapRatio() const { return m_dashedLineGapRatio; }
|
|
|
|
|
2023-04-30 17:09:40 +00:00
|
|
|
public:
|
|
|
|
bool m_PDFFrontFPPropertyPopups; ///< Generate PDF property popup menus for footprints
|
|
|
|
bool m_PDFBackFPPropertyPopups; ///< on front and/or back of board
|
2024-03-13 23:40:18 +00:00
|
|
|
bool m_PDFMetadata; ///< Generate PDF metadata for SUBJECT and AUTHOR
|
2023-04-30 17:09:40 +00:00
|
|
|
|
2021-06-04 13:04:30 +00:00
|
|
|
private:
|
|
|
|
friend class PCB_PLOT_PARAMS_PARSER;
|
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
PLOT_FORMAT m_format; /// Plot format type (chooses the driver to be used)
|
|
|
|
LSET m_layerSelection;
|
|
|
|
LSET m_plotOnAllLayersSelection;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_skipNPTH_Pads; /// Used to disable NPTH pads plotting on copper layers
|
|
|
|
OUTLINE_MODE m_plotMode; /// FILLED or SKETCH for filled objects.
|
|
|
|
DRILL_MARKS m_drillMarks; /// Holes can be not plotted, have a small mark, or be
|
|
|
|
/// plotted in actual size
|
|
|
|
PLOT_TEXT_MODE m_textMode;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
DXF_UNITS m_DXFUnits;
|
|
|
|
bool m_DXFPolygonMode; /// In polygon mode, each item to plot is converted to a
|
|
|
|
/// polygon and all polygons are merged.
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_A4Output; /// Autoscale the plot to fit an A4 (landscape?) sheet
|
|
|
|
bool m_autoScale; /// When true set the scale to fit the board in the page
|
|
|
|
double m_scale; /// Global scale factor, 1.0 plots a board at actual size
|
|
|
|
bool m_mirror; /// Mirror the plot around the X axis
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_negative; /// Plot in negative color (supported only by some drivers)
|
|
|
|
bool m_blackAndWhite; /// Plot in black and white only
|
|
|
|
bool m_plotDrawingSheet;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_plotViaOnMaskLayer; /// True if vias are drawn on Mask layer (ie untented,
|
|
|
|
/// *exposed* by mask)
|
|
|
|
bool m_subtractMaskFromSilk; /// On gerbers 'scrape' away the solder mask from
|
|
|
|
/// silkscreen (trim silks)
|
2021-06-04 13:04:30 +00:00
|
|
|
|
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
/// 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)
|
|
|
|
bool m_useGerberProtelExtensions;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
|
|
|
/// Include attributes from the Gerber X2 format (chapter 5 in revision J2)
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_useGerberX2format;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
/// Disable aperture macros in Gerber format (only for broken Gerber readers). Ideally,
|
|
|
|
/// should be never selected.
|
|
|
|
bool m_gerberDisableApertMacros;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
|
|
|
/// Include netlist info (only in Gerber X2 format) (chapter ? in revision ?)
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_includeGerberNetlistInfo;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
|
|
|
/// generate the auxiliary "job file" in gerber format
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_createGerberJobFile;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
/// Precision of coordinates in Gerber: accepted 5 or 6 when units are in mm, 6 or 7 in inches
|
|
|
|
/// (but Pcbnew uses mm).
|
2021-06-04 13:04:30 +00:00
|
|
|
/// 6 is the internal resolution of Pcbnew, but not always accepted by board maker
|
2023-04-30 12:43:25 +00:00
|
|
|
/// 5 is the minimal value for professional boards
|
|
|
|
int m_gerberPrecision;
|
2022-10-25 02:45:24 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
/// Precision of coordinates in SVG: accepted 3 - 6; 6 is the internal resolution of Pcbnew
|
|
|
|
unsigned m_svgPrecision;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_useAuxOrigin; ///< Plot gerbers using auxiliary (drill) origin instead
|
|
|
|
///< of absolute coordinates
|
2021-06-04 13:04:30 +00:00
|
|
|
|
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
wxString m_outputDirectory; ///< Output directory for plot files (usually relative to
|
|
|
|
///< the board file)
|
|
|
|
int m_scaleSelection; ///< Scale ratio index (UI only)
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_plotReference; ///< Enable plotting of part references
|
|
|
|
bool m_plotValue; ///< Enable plotting of part values
|
2023-08-15 15:56:46 +00:00
|
|
|
bool m_plotFPText;
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_plotInvisibleText; ///< Force plotting of fields marked invisible
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
bool m_sketchPadsOnFabLayers; ///< Plots pads outlines on fab layers
|
|
|
|
int m_sketchPadLineWidth;
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
double m_fineScaleAdjustX; ///< Compensation for printer scale errors (and therefore
|
|
|
|
double m_fineScaleAdjustY; ///< 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.
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
int m_widthAdjust; ///< Compensation for PS printers/plotters that do not
|
|
|
|
///< strictly obey line width settings. Only used to plot
|
|
|
|
///< pads and tracks.
|
2021-06-04 13:04:30 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
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
|
2021-06-04 13:04:30 +00:00
|
|
|
///< However, it is in mm in hpgl files.
|
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
double m_dashedLineDashRatio;
|
|
|
|
double m_dashedLineGapRatio;
|
2021-08-25 23:14:36 +00:00
|
|
|
|
2023-04-30 12:43:25 +00:00
|
|
|
COLOR_SETTINGS* m_colors; /// Pointer to color settings to be used for plotting
|
2021-06-04 13:04:30 +00:00
|
|
|
|
|
|
|
/// Dummy colors object that can be created if there is no Pgm context
|
|
|
|
std::shared_ptr<COLOR_SETTINGS> m_default_colors;
|
2011-01-28 22:54:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // PCB_PLOT_PARAMS_H_
|