KiCad PCB EDA Suite
dialog_plot_schematic.cpp File Reference
#include <bitmaps.h>
#include <common.h>
#include <dialogs/wx_html_report_panel.h>
#include <dialog_plot_schematic.h>
#include <eeschema_settings.h>
#include <kiface_base.h>
#include <locale_io.h>
#include <plotters/plotter_hpgl.h>
#include <plotters/plotter_dxf.h>
#include <plotters/plotters_pslike.h>
#include <reporter.h>
#include <trace_helpers.h>
#include <settings/settings_manager.h>
#include <drawing_sheet/ds_painter.h>
#include <sch_edit_frame.h>
#include <sch_painter.h>
#include <schematic.h>
#include <sch_screen.h>
#include <wx/dirdlg.h>
#include <wx/msgdlg.h>
#include <wx/stdpaths.h>
#include <wx/log.h>

Go to the source code of this file.

Enumerations

enum  HPGL_PAGEZ_T {
  PAGE_DEFAULT = 0, HPGL_PAGE_SIZE_A5, HPGL_PAGE_SIZE_A4, HPGL_PAGE_SIZE_A3,
  HPGL_PAGE_SIZE_A2, HPGL_PAGE_SIZE_A1, HPGL_PAGE_SIZE_A0, HPGL_PAGE_SIZE_A,
  HPGL_PAGE_SIZE_B, HPGL_PAGE_SIZE_C, HPGL_PAGE_SIZE_D, HPGL_PAGE_SIZE_E
}
 

Functions

static const wxChar * plot_sheet_list (int aSize)
 

Enumeration Type Documentation

◆ HPGL_PAGEZ_T

Enumerator
PAGE_DEFAULT 
HPGL_PAGE_SIZE_A5 
HPGL_PAGE_SIZE_A4 
HPGL_PAGE_SIZE_A3 
HPGL_PAGE_SIZE_A2 
HPGL_PAGE_SIZE_A1 
HPGL_PAGE_SIZE_A0 
HPGL_PAGE_SIZE_A 
HPGL_PAGE_SIZE_B 
HPGL_PAGE_SIZE_C 
HPGL_PAGE_SIZE_D 
HPGL_PAGE_SIZE_E 

Definition at line 58 of file dialog_plot_schematic.cpp.

Function Documentation

◆ plot_sheet_list()

static const wxChar* plot_sheet_list ( int  aSize)
static

Definition at line 74 of file dialog_plot_schematic.cpp.

75 {
76  switch( aSize )
77  {
78  default:
79  case PAGE_DEFAULT: return nullptr;
80  case HPGL_PAGE_SIZE_A5: return wxT( "A5" );
81  case HPGL_PAGE_SIZE_A4: return wxT( "A4" );
82  case HPGL_PAGE_SIZE_A3: return wxT( "A3" );
83  case HPGL_PAGE_SIZE_A2: return wxT( "A2" );
84  case HPGL_PAGE_SIZE_A1: return wxT( "A1" );
85  case HPGL_PAGE_SIZE_A0: return wxT( "A0" );
86  case HPGL_PAGE_SIZE_A: return wxT( "A" );
87  case HPGL_PAGE_SIZE_B: return wxT( "B" );
88  case HPGL_PAGE_SIZE_C: return wxT( "C" );
89  case HPGL_PAGE_SIZE_D: return wxT( "D" );
90  case HPGL_PAGE_SIZE_E: return wxT( "E" );
91  }
92 }

References HPGL_PAGE_SIZE_A, HPGL_PAGE_SIZE_A0, HPGL_PAGE_SIZE_A1, HPGL_PAGE_SIZE_A2, HPGL_PAGE_SIZE_A3, HPGL_PAGE_SIZE_A4, HPGL_PAGE_SIZE_A5, HPGL_PAGE_SIZE_B, HPGL_PAGE_SIZE_C, HPGL_PAGE_SIZE_D, HPGL_PAGE_SIZE_E, and PAGE_DEFAULT.

Referenced by DIALOG_PLOT_SCHEMATIC::createHPGLFiles().