KiCad PCB EDA Suite
Loading...
Searching...
No Matches
page_info.h File Reference
#include <map>
#include <kicommon.h>
#include <wx/string.h>
#include <math/vector2d.h>

Go to the source code of this file.

Classes

class  PAGE_INFO
 Describe the page size and margins of a paper page on which to eventually print or plot. More...
 

Macros

#define MIN_PAGE_SIZE_MILS   1000
 Min and max page sizes for clamping, in mils.
 
#define MAX_PAGE_SIZE_PCBNEW_MILS   48000
 
#define MAX_PAGE_SIZE_EESCHEMA_MILS   120000
 
#define MIN_PAGE_SIZE_MM   25.4
 Min and max page sizes for clamping, in mm.
 
#define MAX_PAGE_SIZE_PCBNEW_MM   48000*.0254
 
#define MAX_PAGE_SIZE_EESCHEMA_MM   120000*.0254
 

Enumerations

enum class  PAGE_SIZE_TYPE {
  A5 , A4 , A3 , A2 ,
  A1 , A0 , A , B ,
  C , D , E , GERBER ,
  USLetter , USLegal , USLedger , User
}
 

Macro Definition Documentation

◆ MAX_PAGE_SIZE_EESCHEMA_MILS

#define MAX_PAGE_SIZE_EESCHEMA_MILS   120000

Definition at line 36 of file page_info.h.

Referenced by PL_EDITOR_CONTROL::PageSetup(), and SCH_EDITOR_CONTROL::PageSetup().

◆ MAX_PAGE_SIZE_EESCHEMA_MM

#define MAX_PAGE_SIZE_EESCHEMA_MM   120000*.0254

Definition at line 41 of file page_info.h.

Referenced by SCH_IO_KICAD_SEXPR_PARSER::parsePAGE_INFO().

◆ MAX_PAGE_SIZE_PCBNEW_MILS

#define MAX_PAGE_SIZE_PCBNEW_MILS   48000

Definition at line 35 of file page_info.h.

Referenced by BOARD_EDITOR_CONTROL::PageSettings().

◆ MAX_PAGE_SIZE_PCBNEW_MM

#define MAX_PAGE_SIZE_PCBNEW_MM   48000*.0254

Definition at line 40 of file page_info.h.

Referenced by PCB_IO_KICAD_SEXPR_PARSER::parsePAGE_INFO().

◆ MIN_PAGE_SIZE_MILS

#define MIN_PAGE_SIZE_MILS   1000

Min and max page sizes for clamping, in mils.

Definition at line 34 of file page_info.h.

Referenced by DIALOG_PAGES_SETTINGS::TransferDataFromWindow(), and DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample().

◆ MIN_PAGE_SIZE_MM

#define MIN_PAGE_SIZE_MM   25.4

Min and max page sizes for clamping, in mm.

Definition at line 39 of file page_info.h.

Referenced by PCB_IO_KICAD_SEXPR_PARSER::parsePAGE_INFO(), and SCH_IO_KICAD_SEXPR_PARSER::parsePAGE_INFO().

Enumeration Type Documentation

◆ PAGE_SIZE_TYPE

enum class PAGE_SIZE_TYPE
strong
Enumerator
A5 
A4 
A3 
A2 
A1 
A0 
GERBER 
USLetter 
USLegal 
USLedger 
User 

Definition at line 49 of file page_info.h.