KiCad PCB EDA Suite
|
#include <board_printout.h>
Public Member Functions | |
BOARD_PRINTOUT_SETTINGS (const PAGE_INFO &aPageInfo) | |
virtual | ~BOARD_PRINTOUT_SETTINGS () |
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 | |
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 47 of file board_printout.h.
BOARD_PRINTOUT_SETTINGS::BOARD_PRINTOUT_SETTINGS | ( | const PAGE_INFO & | aPageInfo | ) |
Definition at line 38 of file board_printout.cpp.
References m_LayerSet, m_Mirror, and BASE_SET::set().
|
inlinevirtual |
Definition at line 51 of file board_printout.h.
|
overridevirtual |
Reimplemented from PRINTOUT_SETTINGS.
Reimplemented in PCBNEW_PRINTOUT_SETTINGS.
Definition at line 46 of file board_printout.cpp.
References APP_SETTINGS_BASE::PRINTING::layers, PRINTOUT_SETTINGS::Load(), m_LayerSet, APP_SETTINGS_BASE::m_Printing, BASE_SET::reset(), and BASE_SET::set().
Referenced by PCBNEW_PRINTOUT_SETTINGS::Load().
|
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 PRINTOUT_SETTINGS.
Reimplemented in PCBNEW_PRINTOUT_SETTINGS.
Definition at line 57 of file board_printout.cpp.
References APP_SETTINGS_BASE::PRINTING::layers, m_LayerSet, APP_SETTINGS_BASE::m_Printing, and PRINTOUT_SETTINGS::Save().
Referenced by PCBNEW_PRINTOUT_SETTINGS::Save().
|
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().
LSET BOARD_PRINTOUT_SETTINGS::m_LayerSet |
Layers to print.
Definition at line 55 of file board_printout.h.
Referenced by BOARD_PRINTOUT_SETTINGS(), BOARD_PRINTOUT::DrawPage(), Load(), GERBVIEW_PRINTOUT::OnPrintPage(), PCBNEW_PRINTOUT::OnPrintPage(), Save(), DIALOG_PRINT_GERBVIEW::setLayerSetFromList(), DIALOG_PRINT_PCBNEW::setLayerSetFromList(), GERBVIEW_PRINTOUT::setupViewLayers(), and PCBNEW_PRINTOUT::setupViewLayers().
bool BOARD_PRINTOUT_SETTINGS::m_Mirror |
Print mirrored.
Definition at line 56 of file board_printout.h.
Referenced by BOARD_PRINTOUT_SETTINGS(), PCBNEW_PRINTOUT_SETTINGS::Load(), PCBNEW_PRINTOUT_SETTINGS::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().
|
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().