KiCad PCB EDA Suite
plot_schematic_HPGL.cpp File Reference
#include <fctsys.h>
#include <plotter.h>
#include <sch_edit_frame.h>
#include <base_units.h>
#include <sch_sheet_path.h>
#include <project.h>
#include <dialog_plot_schematic.h>
#include <wx_html_report_panel.h>

Go to the source code of this file.

Enumerations

enum  HPGL_PAGEZ_T {
  PAGE_DEFAULT = 0, 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

Enumerator
PAGE_DEFAULT 
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 38 of file plot_schematic_HPGL.cpp.

Function Documentation

static const wxChar* plot_sheet_list ( int  aSize)
static

Definition at line 53 of file plot_schematic_HPGL.cpp.

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_B, HPGL_PAGE_SIZE_C, HPGL_PAGE_SIZE_D, HPGL_PAGE_SIZE_E, and PAGE_DEFAULT.

Referenced by DIALOG_PLOT_SCHEMATIC::createHPGLFile().

54 {
55  switch( aSize )
56  {
57  default:
58  case PAGE_DEFAULT: return nullptr;
59  case HPGL_PAGE_SIZE_A4: return wxT( "A4" );
60  case HPGL_PAGE_SIZE_A3: return wxT( "A3" );
61  case HPGL_PAGE_SIZE_A2: return wxT( "A2" );
62  case HPGL_PAGE_SIZE_A1: return wxT( "A1" );
63  case HPGL_PAGE_SIZE_A0: return wxT( "A0" );
64  case HPGL_PAGE_SIZE_A: return wxT( "A" );
65  case HPGL_PAGE_SIZE_B: return wxT( "B" );
66  case HPGL_PAGE_SIZE_C: return wxT( "C" );
67  case HPGL_PAGE_SIZE_D: return wxT( "D" );
68  case HPGL_PAGE_SIZE_E: return wxT( "E" );
69  }
70 }