22#include <wx/bmpbuttn.h>
23#include <wx/clntdata.h>
26#include <wx/rearrangectrl.h>
143 [
this]( wxUpdateUIEvent& aEvent )
170 wxArrayInt plotAllLayersOrder;
171 wxArrayString plotAllLayersChoicesStrings;
172 std::vector<PCB_LAYER_ID> layersIdChoiceList;
182 plotAllLayersChoicesStrings.Add( layerName );
183 layersIdChoiceList.push_back( layer );
186 plotAllLayersOrder.push_back( order );
188 plotAllLayersOrder.push_back( ~order );
193 int checkColSize = 22;
194 int layerColSize = textWidth + 15;
206 wxStaticBox* allLayersLabel =
new wxStaticBox(
this, wxID_ANY,
_(
"Plot on All Layers" ) );
207 wxStaticBoxSizer* sbSizer =
new wxStaticBoxSizer( allLayersLabel, wxVERTICAL );
210 wxDefaultPosition, wxDefaultSize,
211 plotAllLayersOrder, plotAllLayersChoicesStrings, 0 );
219 for(
size_t idx = 0; idx < layersIdChoiceList.size(); idx++ )
221 wxString& txt = plotAllLayersChoicesStrings[idx];
230 wxBoxSizer* bButtonSizer;
231 bButtonSizer =
new wxBoxSizer( wxHORIZONTAL );
234 wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW | 0 );
235 m_bpMoveUp->SetToolTip(
_(
"Move current selection up" ) );
238 bButtonSizer->Add(
m_bpMoveUp, 0, wxALIGN_CENTER_VERTICAL | wxRIGHT, 3 );
241 wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW | 0 );
242 m_bpMoveDown->SetToolTip(
_(
"Move current selection down" ) );
245 bButtonSizer->Add(
m_bpMoveDown, 0, wxALIGN_CENTER_VERTICAL | wxRIGHT, 5 );
247 sbSizer->Add( bButtonSizer, 0, wxALL | wxEXPAND, 3 );
249 bmiddleSizer->Insert( 1, sbSizer, 1, wxALL | wxEXPAND, 5 );
261 { wxID_APPLY,
_(
"Generate Drill Files..." ) },
262 { wxID_CANCEL,
_(
"Close" ) } } );
265 GetSizer()->Fit(
this );
266 GetSizer()->SetSizeHints(
this );
295 for(
COLOR_SETTINGS* settings :
Pgm().GetSettingsManager().GetColorSettingsList() )
296 m_colorTheme->Append( settings->GetName(),
static_cast<void*
>( settings ) );
302 wxString target = aTheme;
304 if( target.IsEmpty() )
310 for(
int ii = 0; ii < (int)
m_colorTheme->GetCount(); ++ii )
314 if( settings && ( settings->
GetFilename() == target || settings->
GetName().Lower() == target.Lower() ) )
337 if( selection >= 0 && selection < (
int)
m_colorTheme->GetCount() )
357 default:
return false;
392 if( !
m_job->m_variant.IsEmpty() )
396 if( idx != wxNOT_FOUND )
404 if( !currentVariant.IsEmpty() )
408 if( idx != wxNOT_FOUND )
466 &&
m_job->m_plotLayerSequence.empty();
510 ||
m_plotOpts.GetCrossoutDNPFPsOnFabLayers() );
566 wxCommandEvent cmd_event;
582 wxString label = singleFile ?
_(
"Output file:" ) :
_(
"Output directory:" );
591 m_outputDirectoryName->SetToolTip(
_(
"Target file for the plot. Can be absolute or relative to the board "
592 "file location." ) );
597 "the board file location." ) );
682 m_job->m_subtractSolderMaskFromSilk =
m_plotOpts.GetSubtractMaskFromSilk();
684 m_job->m_crossoutDNPFPsOnFabLayers =
m_plotOpts.GetCrossoutDNPFPsOnFabLayers();
685 m_job->m_hideDNPFPsOnFabLayers =
m_plotOpts.GetHideDNPFPsOnFabLayers();
686 m_job->m_sketchDNPFPsOnFabLayers =
m_plotOpts.GetSketchDNPFPsOnFabLayers();
687 m_job->m_sketchPadsOnFabLayers =
m_plotOpts.GetSketchPadsOnFabLayers();
697 m_job->m_plotLayerSequence =
m_plotOpts.GetLayerSelection().SeqStackupForPlotting();
699 m_job->m_plotOnAllLayersSequence =
m_plotOpts.GetPlotOnAllLayersSequence();
738 int knownViolations = 0;
749 if( !
m_job && ( knownViolations || exclusions ) )
780 if( ( selection != 0 ) && ( selection != wxNOT_FOUND ) )
790 [&]( wxRearrangeList* aList,
PCB_LAYER_ID aLayer ) ->
int
792 for(
int ii = 0; ii < (int) aList->GetCount(); ++ii )
807 while( currentPos > idx )
819#define ID_LAYER_FAB 13001
820#define ID_SELECT_COPPER_LAYERS 13002
821#define ID_DESELECT_COPPER_LAYERS 13003
822#define ID_SELECT_ALL_LAYERS 13004
823#define ID_DESELECT_ALL_LAYERS 13005
824#define ID_STACKUP_ORDER 13006
834 menu.Append(
new wxMenuItem( &menu,
ID_LAYER_FAB,
_(
"Select Fab Layers" ) ) );
836 menu.AppendSeparator();
840 menu.AppendSeparator();
844 menu.Bind( wxEVT_COMMAND_MENU_SELECTED,
845 [&]( wxCommandEvent& aCmd )
847 switch( aCmd.GetId() )
855 if( ( layermask & fab_layer_set ).
any() )
963 menu.AppendSeparator();
964 menu.Append(
new wxMenuItem( &menu,
ID_STACKUP_ORDER,
_(
"Order as Board Stackup" ) ) );
966 menu.Bind( wxEVT_COMMAND_MENU_SELECTED,
967 [&]( wxCommandEvent& aCmd )
969 switch( aCmd.GetId() )
985 LSEQ stackup =
m_editFrame->GetBoard()->GetEnabledLayers().SeqStackupForPlotting();
1030 std::function<bool( wxString* )> textResolver =
1031 [&]( wxString* token ) ->
bool
1033 return m_editFrame->GetBoard()->ResolveTextVar( token, 0 );
1038 wxDirDialog dirDialog(
this,
_(
"Select Output Directory" ),
path );
1040 if( dirDialog.ShowModal() == wxID_CANCEL )
1043 wxFileName dirName = wxFileName::DirName( dirDialog.GetPath() );
1045 wxFileName fn(
Prj().AbsolutePath(
m_editFrame->GetBoard()->GetFileName() ) );
1046 wxString defaultPath = fn.GetPathWithSep();
1047 wxFileName relPathTest;
1049 relPathTest.Assign( dirDialog.GetPath() );
1052 if( relPathTest.MakeRelativeTo( defaultPath ) )
1054 if(
IsOK(
this, wxString::Format(
_(
"Do you want to use a path relative to\n'%s'?" ), defaultPath ) ) )
1055 dirName.MakeRelativeTo( defaultPath );
1097 wxSizer* shownFormatSizer =
nullptr;
1205static bool setDouble(
double* aResult,
double aValue,
double aMin,
double aMax )
1212 else if( aValue > aMax )
1223static bool setInt(
int* aResult,
int aValue,
int aMin,
int aMax )
1230 else if( aValue > aMax )
1314 msg.ToDouble( &tmpDouble );
1320 msg.Printf(
_(
"X scale constrained." ) );
1326 msg.ToDouble( &tmpDouble );
1332 msg.Printf(
_(
"Y scale constrained." ) );
1341 msg.Printf(
_(
"Width correction constrained. The width correction value must be in the"
1342 " range of [%s; %s] for the current design rules." ),
1378 LSET selectedLayers;
1380 for(
unsigned i = 0; i <
m_layerList.size(); i++ )
1387 wxArrayInt plotOnAllLayers;
1392 size_t count = plotOnAllLayers.GetCount();
1394 for(
size_t i = 0; i < count; i++ )
1396 int index = plotOnAllLayers.Item( i );
1399 commonLayers.push_back( client_layer );
1407 m_job !=
nullptr ) );
1415 dirStr.Replace( wxT(
"\\" ), wxT(
"/" ) );
1444 EndModal( wxID_OK );
1461 DisplayError(
this,
_(
"No layer selected, Nothing to plot" ) );
1468 std::function<bool( wxString* )> textResolver =
1469 [&]( wxString* token ) ->
bool
1472 return m_editFrame->GetBoard()->ResolveTextVar( token, 0 );
1477 wxFileName outputDir = wxFileName::DirName(
path );
1478 wxString boardFilename =
m_editFrame->GetBoard()->GetFileName();
1484 msg.Printf(
_(
"Could not write plot files to folder '%s'." ), outputDir.GetPath() );
1497 case 0:
m_plotOpts.SetAutoScale(
true );
break;
1538 wxArrayInt plotOnAllLayers;
1543 size_t count = plotOnAllLayers.GetCount();
1545 for(
size_t i = 0; i < count; i++ )
1547 int index = plotOnAllLayers.Item( i );
1550 commonLayers.push_back( client_layer );
1554 bool plotAllLayersToOneFile =
m_plotOpts.m_PDFSingle ||
m_plotOpts.GetDXFMultiLayeredExportOption();
1555 bool forceAllLayersToOnePage =
false;
1557 pcbPlotter.
Plot( outputDir.GetPath(), layersToPlot, commonLayers,
m_plotOpts.GetUseGerberProtelExtensions(),
1558 plotAllLayersToOneFile, forceAllLayersToOnePage );
1589 std::function<bool( wxString* )> textResolver =
1590 [&]( wxString* token ) ->
bool
1592 return m_editFrame->GetBoard()->ResolveTextVar( token, 0 );
1597 if( !wxDirExists(
path ) )
1599 DisplayError(
this, wxString::Format(
_(
"Directory '%s' does not exist." ),
path ) );
1603 wxLaunchDefaultApplication(
path );
1637 m_hideDNP->Enable( aEvent.IsChecked() );
constexpr EDA_IU_SCALE pcbIUScale
constexpr EDA_IU_SCALE unityScale
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap, int aMinHeight)
wxString m_ColorTheme
Active color theme name.
BASE_SET & set(size_t pos)
Container for design settings for a BOARD object.
int GetSmallestClearanceValue() const
int m_SolderMaskExpansion
int GetLineThickness(PCB_LAYER_ID aLayer) const
Return the default graphic segment thickness from the layer class for the given layer.
Information pertinent to a Pcbnew printed circuit board.
void SetCurrentVariant(const wxString &aVariant)
wxArrayString GetVariantNamesForUI() const
Return the variant names for UI display.
const wxString GetLayerName(PCB_LAYER_ID aLayer) const
Return the name of a aLayer.
wxString GetCurrentVariant() const
PROJECT * GetProject() const
const LSET & GetEnabledLayers() const
A proxy function that calls the corresponding function in m_BoardSettings.
BOARD_DESIGN_SETTINGS & GetDesignSettings()
static const COLOR4D UNSPECIFIED
For legacy support; used as a value to indicate color hasn't been set yet.
Color settings are a bit different than most of the settings objects in that there can be more than o...
const wxString & GetName() const
wxCheckBox * m_frontFPPropertyPopups
wxStaticText * m_DRCExclusionsWarning
wxTextCtrl * m_widthAdjustCtrl
wxCheckBox * m_backFPPropertyPopups
wxTextCtrl * m_fineAdjustXCtrl
wxBoxSizer * bmiddleSizer
wxStaticBoxSizer * m_PDFOptionsSizer
wxCheckBox * m_disableApertMacros
wxChoice * m_coordFormatCtrl
wxCheckBox * m_DXF_plotModeOpt
wxChoice * m_SVGColorChoice
wxStaticText * m_staticTextPlotFmt
wxStaticBoxSizer * m_pngOptionsSizer
wxCheckBox * m_DXF_exportAsMultiLayeredFile
STD_BITMAP_BUTTON * m_browseButton
wxTextCtrl * m_outputDirectoryName
wxSpinCtrl * m_svgPrecsision
wxTextCtrl * m_fineAdjustYCtrl
wxCheckBox * m_plotPadNumbers
wxCheckBox * m_useAuxOriginCheckBox
wxStaticBoxSizer * m_PSOptionsSizer
STD_BITMAP_BUTTON * m_openDirButton
wxCheckBox * m_plotPSNegativeOpt
wxChoice * m_variantChoiceCtrl
wxStaticText * m_widthAdjustLabel
wxCheckBox * m_SVG_fitPageToBoard
wxStaticText * m_pdfBackgroundColorText
wxCheckBox * m_DXF_plotTextStrokeFontOpt
wxCheckBox * m_allCopperLayers
wxCheckBox * m_useGerberExtensions
wxCheckBox * m_plotSheetRef
wxBoxSizer * m_SizerSolderMaskAlert
wxCheckBox * m_generateGerberJobFile
wxRadioButton * m_crossoutDNP
wxButton * m_sdbSizer1Apply
wxCheckBox * m_useGerberX2Format
wxCheckListBox * m_layerCheckListBox
wxCheckBox * m_plotMirrorOpt
wxStaticText * m_staticTextDir
wxStaticText * m_widthAdjustUnits
wxStaticBoxSizer * m_svgOptionsSizer
COLOR_SWATCH * m_pdfBackgroundColorSwatch
wxCheckBox * m_forcePSA4OutputOpt
wxCheckBox * m_useGerberNetAttributes
wxStaticText * m_colorThemeLabel
wxCheckBox * m_sketchPadsOnFabLayers
wxCheckBox * m_pngAntialias
wxCheckBox * m_subtractMaskFromSilk
wxBoxSizer * m_PlotOptionsSizer
wxCheckBox * m_plotRefDes
wxChoice * m_DXF_plotUnits
DIALOG_PLOT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Plot"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStaticBoxSizer * m_SizerDXF_options
wxCheckBox * m_pdfMetadata
wxChoice * m_drillShapeOpt
wxCheckBox * m_plotFootprintValues
wxRadioButton * m_hideDNP
wxCheckBox * m_zoneFillCheck
wxStaticBoxSizer * m_GerberOptionsSizer
WX_HTML_REPORT_PANEL * m_messagesPanel
wxChoice * m_PDFColorChoice
wxChoice * m_plotFormatOpt
bool formatUsesColorTheme()
void populateColorThemeSelector()
void onPDFColorChoice(wxCommandEvent &event) override
DIALOG_PLOT(PCB_EDIT_FRAME *aEditFrame)
COLOR_SETTINGS * getEditorColorSettings() const
void OnRightClickLayers(wxMouseEvent &event)
static LSEQ s_lastAllLayersOrder
The plot on all layers ordering the last time the dialog was opened.
void onAllCopperLayers(wxCommandEvent &event) override
JOB_EXPORT_PCB_PLOT * m_job
PCB_PLOT_PARAMS m_plotOpts
STD_BITMAP_BUTTON * m_bpMoveUp
void onPlotAllListMoveUp(wxCommandEvent &aEvent)
void OnChangeDXFPlotMode(wxCommandEvent &event) override
int m_widthAdjustMinValue
UNIT_BINDER m_trackWidthCorrection
void onBoardSetup(wxHyperlinkEvent &aEvent) override
void OnRightClickAllLayers(wxMouseEvent &event)
void onSketchPads(wxCommandEvent &event) override
bool allCopperLayersChecked() const
void Plot(wxCommandEvent &event) override
wxString m_DRCWarningTemplate
wxRearrangeList * m_plotAllLayersList
bool TransferDataToWindow() override
void onPlotAllListMoveDown(wxCommandEvent &aEvent)
void onRunDRC(wxCommandEvent &event) override
void arrangeAllLayersList(const LSEQ &aSeq)
void checkAllCopperLayers()
void onOpenOutputDirectory(wxCommandEvent &event) override
void updatePdfColorOptions()
PCB_EDIT_FRAME * m_editFrame
void updateColorThemeControl()
STD_BITMAP_BUTTON * m_bpMoveDown
void syncAllCopperLayers()
void onLayerToggled(wxCommandEvent &event) override
void updateJobOutputLabel()
COLOR_SETTINGS * getColorSettings() const
wxString getSelectedVariant() const
void CreateDrillFile(wxCommandEvent &event) override
void onSVGColorChoice(wxCommandEvent &event) override
void onDNPCheckbox(wxCommandEvent &event) override
PLOT_FORMAT getPlotFormat()
void transferPlotParamsToJob()
int m_widthAdjustMaxValue
void onOutputDirectoryBrowseClicked(wxCommandEvent &event) override
void OnGerberX2Checked(wxCommandEvent &event) override
void setColorThemeSelection(const wxString &aTheme)
void SetPlotFormat(wxCommandEvent &event) override
void recordControlChange(wxWindow *aCtrl)
Tell the undo mechanism to snapshot the current value of a control and record it as an undo step when...
void SetupStandardButtons(std::map< int, wxString > aLabels={})
bool m_plotGraphicItemsUsingContours
bool m_useBoardPlotParams
bool m_useProtelFileExtension
bool m_includeNetlistAttributes
bool m_disableApertureMacros
bool m_pdfFrontFPPropertyPopups
@ ALL_LAYERS_SEPARATE_FILE
The most traditional output mode KiCad has had.
@ ONE_PAGE_PER_LAYER_ONE_FILE
"Single Document" mode
wxString m_pdfBackgroundColor
The background color specified in a hex string.
bool m_pdfBackFPPropertyPopups
GEN_MODE m_pdfGenMode
uused by the cli, will be removed when the other behavior is deprecated
double m_trackWidthCorrection
virtual wxString GetSettingsDialogTitle() const
wxString GetFilename() const
PROJECT & Prj() const
Return a reference to the PROJECT associated with this KIWAY.
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
LSET is a set of PCB_LAYER_IDs.
static const LSET & AllCuMask()
return AllCuMask( MAX_CU_LAYERS );
LSEQ UIOrder() const
Return the copper, technical and user layers in the order shown in layer widget.
LSEQ SeqStackupForPlotting() const
Return the sequence that is typical for a bottom-to-top stack-up.
static const LSET & AllTechMask()
Return a mask holding all technical layers (no CU layer) on both side.
The main frame for Pcbnew.
void ShowBoardSetupDialog(const wxString &aInitialPage=wxEmptyString, wxWindow *aParent=nullptr)
A helper wxWidgets control client data object to store layer IDs.
PCB_LAYER_ID Layer() const
void SetData(PCB_LAYER_ID aId)
PCB_LAYER_ID_CLIENT_DATA()
PCB_LAYER_ID_CLIENT_DATA(PCB_LAYER_ID aId)
bool Plot(const wxString &aOutputPath, const LSEQ &aLayersToPlot, const LSEQ &aCommonLayers, bool aUseGerberFileExtensions, bool aPlotAllLayersToSingleFile, bool aForceAllLayersToSinglePage, std::optional< wxString > aLayerName=std::nullopt, std::optional< wxString > aSheetName=std::nullopt, std::optional< wxString > aSheetPath=std::nullopt, std::vector< wxString > *aOutputFiles=nullptr)
static void PlotJobToPlotOpts(PCB_PLOT_PARAMS &aOpts, JOB_EXPORT_PCB_PLOT *aJob, REPORTER &aReporter)
Translate a JOB to PCB_PLOT_PARAMS.
static LSET DialogLayerSelection(const LSET &aChecked, const LSET &aEnabledLayers, bool aForJob)
Return the layers a plot dialog stores when aChecked are ticked.
Parameters and options when plotting/printing a board.
void SetDrillMarksType(DRILL_MARKS aVal)
void SetLayerSelection(const LSET &aSelection)
void SetOutputDirectory(const wxString &aDir)
void SetPlotReference(bool aFlag)
void SetSketchPadsOnFabLayers(bool aFlag)
void SetUseGerberX2format(bool aUse)
void SetA4Output(int aForce)
void SetPlotOnAllLayersSequence(LSEQ aSeq)
void SetDXFPlotPolygonMode(bool aFlag)
void SetPlotFrameRef(bool aFlag)
void SetSketchDNPFPsOnFabLayers(bool aFlag)
bool m_PDFMetadata
Generate PDF metadata for SUBJECT and AUTHOR.
void SetDashedLineGapRatio(double aVal)
void SetPlotPadNumbers(bool aFlag)
COLOR4D m_backgroundColor
Background color to use for PNG and PDF plotting.
bool m_PDFFrontFPPropertyPopups
Generate PDF property popup menus for footprints.
void SetDisableGerberMacros(bool aDisable)
void SetDXFMultiLayeredExportOption(bool aFlag)
void SetScaleSelection(int aSelection)
void SetFineScaleAdjustX(double aVal)
void SetMirror(bool aFlag)
void SetBlackAndWhite(bool blackAndWhite)
void SetGerberPrecision(int aPrecision)
void SetSubtractMaskFromSilk(bool aSubtract)
void SetHideDNPFPsOnFabLayers(bool aFlag)
void SetPlotValue(bool aFlag)
void SetUseGerberProtelExtensions(bool aUse)
void SetDashedLineDashRatio(double aVal)
void SetDXFPlotUnits(DXF_UNITS aUnit)
void SetPngAntialias(bool aFlag)
void SetIncludeGerberNetlistInfo(bool aUse)
void SetCreateGerberJobFile(bool aCreate)
bool m_PDFSingle
Generate a single PDF file for all layers.
void SetNegative(bool aFlag)
void SetUseAuxOrigin(bool aAux)
bool m_PDFBackFPPropertyPopups
on front and/or back of board
void SetTextMode(PLOT_TEXT_MODE aVal)
void SetSvgFitPageToBoard(int aSvgFitPageToBoard)
void SetSvgPrecision(unsigned aPrecision)
void SetCrossoutDNPFPsOnFabLayers(bool aFlag)
void SetFormat(PLOT_FORMAT aFormat)
void SetFineScaleAdjustY(double aVal)
void SetWidthAdjust(int aVal)
The backing store for a PROJECT, in JSON format.
wxString m_PcbLastPath[LAST_PATH_SIZE]
MRU path storage.
A pure virtual class used to derive REPORTER objects from.
A type-safe container of any type.
wxString ExpandPathVariables(const wxString &aPath, const PROJECT *aProject, const std::function< bool(wxString *)> *aTextResolver)
Expand text variables, environment variables and a leading '~' in a user-entered file path.
wxString ResolveProjectPath(const wxString &aPath, const PROJECT *aProject, const std::function< bool(wxString *)> *aTextResolver)
Expand a user-entered file path as ExpandPathVariables() does, then anchor a relative result at the p...
bool EnsureFileDirectoryExists(wxFileName *aTargetFullFileName, const wxString &aBaseFilename, REPORTER *aReporter)
Make aTargetFullFileName absolute and create the path of this file if it doesn't yet exist.
bool IsOK(wxWindow *aParent, const wxString &aMessage)
Display a yes/no dialog with aMessage and returns the user response.
void DisplayInfoMessage(wxWindow *aParent, const wxString &aMessage, const wxString &aExtraInfo)
Display an informational message box with aMessage.
void DisplayError(wxWindow *aParent, const wxString &aText)
Display an error or warning message box with aMessage.
This file is part of the common library.
static bool setDouble(double *aResult, double aValue, double aMin, double aMax)
static bool setInt(int *aResult, int aValue, int aMin, int aMax)
PCB_LAYER_ID_CLIENT_DATA * getLayerClientData(const wxRearrangeList *aList, int aIdx)
#define ID_SELECT_ALL_LAYERS
static double selectionToScale(int selection)
#define ID_DESELECT_COPPER_LAYERS
#define ID_DESELECT_ALL_LAYERS
#define ID_SELECT_COPPER_LAYERS
Classes used to generate a Gerber job file in JSON.
bool IsCopperLayer(int aLayerId)
Test whether a layer is a copper layer.
PCB_LAYER_ID
A quick note on layer IDs:
This file contains miscellaneous commonly used macros and functions.
KICOMMON_API wxString StringFromValue(const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=false, EDA_DATA_TYPE aType=EDA_DATA_TYPE::DISTANCE)
Return the string from aValue according to aUnits (inch, mm ...) for display.
KICOMMON_API wxSize GetTextSize(const wxString &aSingleLine, wxWindow *aWindow)
Return the size of aSingleLine of text when it is rendered in aWindow using whatever font is currentl...
bool contains(const _Container &__container, _Value __value)
Returns true if the container contains the given value.
PGM_BASE & Pgm()
The global program "get" accessor.
DRILL_MARKS
Plots and prints can show holes in pads and vias 3 options are available:
PLOT_FORMAT
The set of supported output plot formats.
Plotting engines similar to ps (PostScript, Gerber, svg)
T * GetAppSettings(const char *aFilename)
#define TO_UTF8(wxstring)
Convert a wxString to a UTF8 encoded C string for all wxWidgets build modes.
IbisParser parser & reporter
Definition of file extensions used in Kicad.