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

#include <board_printout.h>

Inheritance diagram for BOARD_PRINTOUT_SETTINGS:
PRINTOUT_SETTINGS PCBNEW_PRINTOUT_SETTINGS

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_INFOm_pageInfo
 
COLOR_SETTINGSm_colorSettings
 The color settings to be used for printing.
 

Detailed Description

Definition at line 47 of file board_printout.h.

Constructor & Destructor Documentation

◆ BOARD_PRINTOUT_SETTINGS()

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().

◆ ~BOARD_PRINTOUT_SETTINGS()

virtual BOARD_PRINTOUT_SETTINGS::~BOARD_PRINTOUT_SETTINGS ( )
inlinevirtual

Definition at line 51 of file board_printout.h.

Member Function Documentation

◆ Load()

void BOARD_PRINTOUT_SETTINGS::Load ( APP_SETTINGS_BASE aConfig)
overridevirtual

◆ 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 PRINTOUT_SETTINGS::m_titleBlock.

Referenced by BOARD_PRINTOUT::DrawPage().

◆ Save()

void BOARD_PRINTOUT_SETTINGS::Save ( APP_SETTINGS_BASE aConfig)
overridevirtual

Member Data Documentation

◆ m_background

bool PRINTOUT_SETTINGS::m_background
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().

◆ m_blackWhite

◆ 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 BOARD_PRINTOUT::DrawPage(), GERBVIEW_CONTROL::Print(), PRINTOUT_SETTINGS::PRINTOUT_SETTINGS(), and DIALOG_PRINT_PCBNEW::saveSettings().

◆ m_LayerSet

◆ m_Mirror

◆ m_pageCount

◆ m_pageInfo

const PAGE_INFO& PRINTOUT_SETTINGS::m_pageInfo
inherited

Definition at line 63 of file printout.h.

Referenced by BOARD_PRINTOUT::DrawPage(), and DIALOG_PRINT_GENERIC::initPrintData().

◆ m_scale

◆ m_titleBlock


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