KiCad PCB EDA Suite
|
#include <pcbnew_printout.h>
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_INFO & | m_pageInfo |
COLOR_SETTINGS * | m_colorSettings |
The color settings to be used for printing. | |
Definition at line 31 of file pcbnew_printout.h.
Enumerator | |
---|---|
LAYER_PER_PAGE | |
ALL_LAYERS |
Definition at line 37 of file pcbnew_printout.h.
PCBNEW_PRINTOUT_SETTINGS::PCBNEW_PRINTOUT_SETTINGS | ( | const PAGE_INFO & | aPageInfo | ) |
Definition at line 43 of file pcbnew_printout.cpp.
References ALL_LAYERS, m_AsItemCheckboxes, m_DrillMarks, m_Pagination, and m_PrintEdgeCutsOnAllPages.
|
overridevirtual |
Reimplemented from BOARD_PRINTOUT_SETTINGS.
Definition at line 53 of file pcbnew_printout.cpp.
References PCBNEW_SETTINGS::DIALOG_PLOT::all_layers_on_one_page, PCBNEW_SETTINGS::DIALOG_PLOT::as_item_checkboxes, PCBNEW_SETTINGS::DIALOG_PLOT::edgecut_on_all_layers, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), BOARD_PRINTOUT_SETTINGS::Load(), m_AsItemCheckboxes, m_DrillMarks, BOARD_PRINTOUT_SETTINGS::m_Mirror, m_Pagination, PCBNEW_SETTINGS::m_Plot, m_PrintEdgeCutsOnAllPages, PCBNEW_SETTINGS::DIALOG_PLOT::mirror, PCBNEW_SETTINGS::DIALOG_PLOT::pads_drill_mode, and Pgm().
|
inlineinherited |
Returns true if the drawing border and title block should be printed.
Definition at line 55 of file printout.h.
References PRINTOUT_SETTINGS::m_titleBlock.
Referenced by BOARD_PRINTOUT::DrawPage().
|
overridevirtual |
Reimplemented from BOARD_PRINTOUT_SETTINGS.
Definition at line 71 of file pcbnew_printout.cpp.
References PCBNEW_SETTINGS::DIALOG_PLOT::all_layers_on_one_page, PCBNEW_SETTINGS::DIALOG_PLOT::as_item_checkboxes, PCBNEW_SETTINGS::DIALOG_PLOT::edgecut_on_all_layers, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), m_AsItemCheckboxes, m_DrillMarks, BOARD_PRINTOUT_SETTINGS::m_Mirror, m_Pagination, PCBNEW_SETTINGS::m_Plot, m_PrintEdgeCutsOnAllPages, PCBNEW_SETTINGS::DIALOG_PLOT::mirror, PCBNEW_SETTINGS::DIALOG_PLOT::pads_drill_mode, Pgm(), and BOARD_PRINTOUT_SETTINGS::Save().
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 Load(), PCBNEW_PRINTOUT_SETTINGS(), Save(), DIALOG_PRINT_PCBNEW::saveSettings(), and PCBNEW_PRINTOUT::setupViewLayers().
|
inherited |
Print background color.
Definition at line 62 of file printout.h.
Referenced by PRINTOUT_SETTINGS::PRINTOUT_SETTINGS(), DIALOG_PRINT_PCBNEW::saveSettings(), and BOARD_PRINTOUT::setupPainter().
|
inherited |
Print in B&W or Color.
Definition at line 60 of file printout.h.
Referenced by BOARD_PRINTOUT::DrawPage(), PRINTOUT_SETTINGS::Load(), DIALOG_PRINT_PCBNEW::onColorModeClicked(), PRINTOUT_SETTINGS::PRINTOUT_SETTINGS(), PRINTOUT_SETTINGS::Save(), DIALOG_PRINT_GENERIC::saveSettings(), PCBNEW_PRINTOUT::setupViewLayers(), and DIALOG_PRINT_GENERIC::TransferDataToWindow().
|
inherited |
The color settings to be used for printing.
Definition at line 66 of file printout.h.
Referenced by BOARD_PRINTOUT::DrawPage(), GERBVIEW_CONTROL::Print(), PRINTOUT_SETTINGS::PRINTOUT_SETTINGS(), and DIALOG_PRINT_PCBNEW::saveSettings().
enum DRILL_MARKS PCBNEW_PRINTOUT_SETTINGS::m_DrillMarks |
Definition at line 35 of file pcbnew_printout.h.
Referenced by Load(), PCBNEW_PRINTOUT_SETTINGS(), Save(), DIALOG_PRINT_PCBNEW::saveSettings(), PCBNEW_PRINTOUT::setupPainter(), and PCBNEW_PRINTOUT::setupViewLayers().
|
inherited |
Layers to print.
Definition at line 55 of file board_printout.h.
Referenced by BOARD_PRINTOUT_SETTINGS::BOARD_PRINTOUT_SETTINGS(), BOARD_PRINTOUT::DrawPage(), BOARD_PRINTOUT_SETTINGS::Load(), GERBVIEW_PRINTOUT::OnPrintPage(), PCBNEW_PRINTOUT::OnPrintPage(), BOARD_PRINTOUT_SETTINGS::Save(), DIALOG_PRINT_GERBVIEW::setLayerSetFromList(), DIALOG_PRINT_PCBNEW::setLayerSetFromList(), GERBVIEW_PRINTOUT::setupViewLayers(), and PCBNEW_PRINTOUT::setupViewLayers().
|
inherited |
Print mirrored.
Definition at line 56 of file board_printout.h.
Referenced by BOARD_PRINTOUT_SETTINGS::BOARD_PRINTOUT_SETTINGS(), Load(), Save(), DIALOG_PRINT_GERBVIEW::saveSettings(), DIALOG_PRINT_PCBNEW::saveSettings(), and BOARD_PRINTOUT::setupGal().
|
inherited |
Number of pages to print.
Definition at line 61 of file printout.h.
Referenced by BOARD_PRINTOUT::GetPageInfo(), BOARD_PRINTOUT::HasPage(), DIALOG_PRINT_GENERIC::onPrintButtonClick(), GERBVIEW_PRINTOUT::OnPrintPage(), DIALOG_PRINT_GENERIC::onPrintPreview(), PRINTOUT_SETTINGS::PRINTOUT_SETTINGS(), DIALOG_PRINT_GERBVIEW::setLayerSetFromList(), and DIALOG_PRINT_PCBNEW::setLayerSetFromList().
|
inherited |
Definition at line 63 of file printout.h.
Referenced by BOARD_PRINTOUT::DrawPage(), and DIALOG_PRINT_GENERIC::initPrintData().
enum PCBNEW_PRINTOUT_SETTINGS::PAGINATION_T PCBNEW_PRINTOUT_SETTINGS::m_Pagination |
Referenced by Load(), PCBNEW_PRINTOUT::OnPrintPage(), PCBNEW_PRINTOUT_SETTINGS(), Save(), and DIALOG_PRINT_PCBNEW::saveSettings().
bool PCBNEW_PRINTOUT_SETTINGS::m_PrintEdgeCutsOnAllPages |
Print board outline on each page.
Definition at line 42 of file pcbnew_printout.h.
Referenced by Load(), PCBNEW_PRINTOUT::OnPrintPage(), PCBNEW_PRINTOUT_SETTINGS(), Save(), DIALOG_PRINT_PCBNEW::saveSettings(), and DIALOG_PRINT_PCBNEW::setLayerSetFromList().
|
inherited |
Printing scale.
Definition at line 58 of file printout.h.
Referenced by BOARD_PRINTOUT::DrawPage(), PRINTOUT_SETTINGS::Load(), PRINTOUT_SETTINGS::PRINTOUT_SETTINGS(), PRINTOUT_SETTINGS::Save(), DIALOG_PRINT_GENERIC::saveSettings(), and DIALOG_PRINT_GENERIC::TransferDataToWindow().
|
inherited |
Print frame and title block.
Definition at line 59 of file printout.h.
Referenced by DIALOG_PRINT_GENERIC::ForcePrintBorder(), PRINTOUT_SETTINGS::Load(), PRINTOUT_SETTINGS::PrintBorderAndTitleBlock(), PRINTOUT_SETTINGS::PRINTOUT_SETTINGS(), PRINTOUT_SETTINGS::Save(), DIALOG_PRINT_GENERIC::saveSettings(), and DIALOG_PRINT_GENERIC::TransferDataToWindow().