KiCad PCB EDA Suite
dialog_SVG_print.cpp File Reference
#include <fctsys.h>
#include <kiface_i.h>
#include <common.h>
#include <class_drawpanel.h>
#include <wxBasePcbFrame.h>
#include <class_pcb_screen.h>
#include <base_units.h>
#include <convert_to_biu.h>
#include <wildcards_and_files_ext.h>
#include <macros.h>
#include <reporter.h>
#include <confirm.h>
#include <pcbnew.h>
#include <pcbplot.h>
#include <printout_controler.h>
#include <class_board.h>
#include <dialog_SVG_print_base.h>
#include <invoke_pcb_dialog.h>
#include <wx_html_report_panel.h>

Go to the source code of this file.

Classes

class  DIALOG_SVG_PRINT
 

Macros

#define PLOTSVGMODECOLOR_KEY   wxT( "PlotSVGModeColor" )
 
#define PLOTSVGMODEMIRROR_KEY   wxT( "PlotSVGModeMirror" )
 
#define PLOTSVGMODEONEFILE_KEY   wxT( "PlotSVGModeOneFile" )
 
#define PLOTSVGPAGESIZEOPT_KEY   wxT( "PlotSVGPageOpt" )
 
#define PLOTSVGPLOT_BRD_EDGE_KEY   wxT( "PlotSVGBrdEdge" )
 
#define WIDTH_MAX_VALUE   (2 * IU_PER_MM)
 
#define WIDTH_MIN_VALUE   (0.05 * IU_PER_MM)
 

Functions

bool InvokeSVGPrint (wxTopLevelWindow *aCaller, BOARD *aBoard, PCB_PLOT_PARAMS *aSettings)
 Function InvokeSVGPrint shows the SVG print dialog. More...
 

Variables

static LSET s_SelectedLayers (4, B_Cu, F_Cu, F_SilkS, B_SilkS)
 

Macro Definition Documentation

#define PLOTSVGMODECOLOR_KEY   wxT( "PlotSVGModeColor" )
#define PLOTSVGMODEMIRROR_KEY   wxT( "PlotSVGModeMirror" )
#define PLOTSVGMODEONEFILE_KEY   wxT( "PlotSVGModeOneFile" )
#define PLOTSVGPAGESIZEOPT_KEY   wxT( "PlotSVGPageOpt" )
#define PLOTSVGPLOT_BRD_EDGE_KEY   wxT( "PlotSVGBrdEdge" )
#define WIDTH_MAX_VALUE   (2 * IU_PER_MM)

Definition at line 107 of file dialog_SVG_print.cpp.

Referenced by DIALOG_SVG_PRINT::SetPenWidth().

#define WIDTH_MIN_VALUE   (0.05 * IU_PER_MM)

Definition at line 108 of file dialog_SVG_print.cpp.

Referenced by DIALOG_SVG_PRINT::SetPenWidth().

Function Documentation

bool InvokeSVGPrint ( wxTopLevelWindow *  aCaller,
BOARD aBoard,
PCB_PLOT_PARAMS aSettings 
)

Function InvokeSVGPrint shows the SVG print dialog.

Parameters
aCalleris the wxTopLevelWindow which is invoking the dialog.
aBoardis the currently edited board.
aSettingsis the current pcb plot parameters.
Returns
bool - true if user pressed OK (did not abort), else false.

Definition at line 447 of file dialog_SVG_print.cpp.

Referenced by PCB_EDIT_FRAME::SVG_Print().

448 {
449  DIALOG_SVG_PRINT dlg( aCaller, aBoard, aSettings );
450 
451  return dlg.ShowModal() == wxID_OK;
452 }

Variable Documentation

LSET s_SelectedLayers(4, B_Cu, F_Cu, F_SilkS, B_SilkS)
static