KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCBNEW_PRINTOUT_SETTINGS Struct Reference

#include <pcbnew_printout.h>

Inheritance diagram for PCBNEW_PRINTOUT_SETTINGS:
BOARD_PRINTOUT_SETTINGS PRINTOUT_SETTINGS

Public Types

enum  PAGINATION_T { LAYER_PER_PAGE , ALL_LAYERS }
 

Public Member Functions

 PCBNEW_PRINTOUT_SETTINGS (const PAGE_INFO &aPageInfo)
 
void Load (APP_SETTINGS_BASE *aConfig) override
 
void Save (APP_SETTINGS_BASE *aConfig) override
 
bool PrintBorderAndTitleBlock () const
 Returns true if the drawing border and title block should be printed.
 

Public Attributes

enum DRILL_MARKS m_DrillMarks
 
enum PCBNEW_PRINTOUT_SETTINGS::PAGINATION_T m_Pagination
 
bool m_PrintEdgeCutsOnAllPages
 Print board outline on each page.
 
bool m_AsItemCheckboxes
 Honor checkboxes in the Items tab of the Layers Manager.
 
LSET m_LayerSet
 Layers to print.
 
bool m_Mirror
 Print mirrored.
 
double m_scale
 Printing scale.
 
bool m_titleBlock
 Print frame and title block.
 
bool m_blackWhite
 Print in B&W or Color.
 
int m_pageCount
 Number of pages to print.
 
bool m_background
 Print background color.
 
const PAGE_INFOm_pageInfo
 
COLOR_SETTINGSm_colorSettings
 The color settings to be used for printing.
 

Detailed Description

Definition at line 31 of file pcbnew_printout.h.

Member Enumeration Documentation

◆ PAGINATION_T

Enumerator
LAYER_PER_PAGE 
ALL_LAYERS 

Definition at line 37 of file pcbnew_printout.h.

Constructor & Destructor Documentation

◆ PCBNEW_PRINTOUT_SETTINGS()

PCBNEW_PRINTOUT_SETTINGS::PCBNEW_PRINTOUT_SETTINGS ( const PAGE_INFO & aPageInfo)

Member Function Documentation

◆ Load()

void PCBNEW_PRINTOUT_SETTINGS::Load ( APP_SETTINGS_BASE * aConfig)
overridevirtual

Reimplemented from BOARD_PRINTOUT_SETTINGS.

Definition at line 53 of file pcbnew_printout.cpp.

References BOARD_PRINTOUT_SETTINGS::Load().

◆ PrintBorderAndTitleBlock()

bool PRINTOUT_SETTINGS::PrintBorderAndTitleBlock ( ) const
inlineinherited

Returns true if the drawing border and title block should be printed.

Definition at line 55 of file printout.h.

References m_titleBlock.

◆ Save()

void PCBNEW_PRINTOUT_SETTINGS::Save ( APP_SETTINGS_BASE * aConfig)
overridevirtual

Reimplemented from BOARD_PRINTOUT_SETTINGS.

Definition at line 59 of file pcbnew_printout.cpp.

References BOARD_PRINTOUT_SETTINGS::Save().

Member Data Documentation

◆ m_AsItemCheckboxes

bool PCBNEW_PRINTOUT_SETTINGS::m_AsItemCheckboxes

Honor checkboxes in the Items tab of the Layers Manager.

Definition at line 43 of file pcbnew_printout.h.

Referenced by PCBNEW_PRINTOUT_SETTINGS(), and DIALOG_PRINT_PCBNEW::saveSettings().

◆ m_background

bool PRINTOUT_SETTINGS::m_background
inherited

Print background color.

Definition at line 62 of file printout.h.

Referenced by PRINTOUT_SETTINGS(), and DIALOG_PRINT_PCBNEW::saveSettings().

◆ m_blackWhite

bool PRINTOUT_SETTINGS::m_blackWhite
inherited

Print in B&W or Color.

Definition at line 60 of file printout.h.

Referenced by Load(), PRINTOUT_SETTINGS(), and Save().

◆ m_colorSettings

COLOR_SETTINGS* PRINTOUT_SETTINGS::m_colorSettings
inherited

The color settings to be used for printing.

Definition at line 66 of file printout.h.

Referenced by GERBVIEW_CONTROL::Print(), PRINTOUT_SETTINGS(), and DIALOG_PRINT_PCBNEW::saveSettings().

◆ m_DrillMarks

enum DRILL_MARKS PCBNEW_PRINTOUT_SETTINGS::m_DrillMarks

◆ m_LayerSet

LSET BOARD_PRINTOUT_SETTINGS::m_LayerSet
inherited

◆ m_Mirror

bool BOARD_PRINTOUT_SETTINGS::m_Mirror
inherited

◆ m_pageCount

int PRINTOUT_SETTINGS::m_pageCount
inherited

Number of pages to print.

Definition at line 61 of file printout.h.

Referenced by PRINTOUT_SETTINGS(), DIALOG_PRINT_GERBVIEW::setLayerSetFromList(), and DIALOG_PRINT_PCBNEW::setLayerSetFromList().

◆ m_pageInfo

const PAGE_INFO& PRINTOUT_SETTINGS::m_pageInfo
inherited

Definition at line 63 of file printout.h.

Referenced by PRINTOUT_SETTINGS().

◆ m_Pagination

enum PCBNEW_PRINTOUT_SETTINGS::PAGINATION_T PCBNEW_PRINTOUT_SETTINGS::m_Pagination

◆ m_PrintEdgeCutsOnAllPages

bool PCBNEW_PRINTOUT_SETTINGS::m_PrintEdgeCutsOnAllPages

Print board outline on each page.

Definition at line 42 of file pcbnew_printout.h.

Referenced by PCBNEW_PRINTOUT_SETTINGS(), DIALOG_PRINT_PCBNEW::saveSettings(), and DIALOG_PRINT_PCBNEW::setLayerSetFromList().

◆ m_scale

double PRINTOUT_SETTINGS::m_scale
inherited

Printing scale.

Definition at line 58 of file printout.h.

Referenced by Load(), PRINTOUT_SETTINGS(), and Save().

◆ m_titleBlock

bool PRINTOUT_SETTINGS::m_titleBlock
inherited

Print frame and title block.

Definition at line 59 of file printout.h.

Referenced by Load(), PrintBorderAndTitleBlock(), PRINTOUT_SETTINGS(), and Save().


The documentation for this struct was generated from the following files: