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

Handle the parameters used to print a board drawing. More...

#include <printout.h>

Inheritance diagram for PRINTOUT_SETTINGS:
BOARD_PRINTOUT_SETTINGS PCBNEW_PRINTOUT_SETTINGS

Public Member Functions

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

Public Attributes

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

Handle the parameters used to print a board drawing.

Definition at line 31 of file printout.h.

Constructor & Destructor Documentation

◆ PRINTOUT_SETTINGS()

PRINTOUT_SETTINGS::PRINTOUT_SETTINGS ( const PAGE_INFO aPageInfo)
inline

Definition at line 33 of file printout.h.

References m_background, m_blackWhite, m_colorSettings, m_pageCount, m_scale, and m_titleBlock.

◆ ~PRINTOUT_SETTINGS()

virtual PRINTOUT_SETTINGS::~PRINTOUT_SETTINGS ( )
inlinevirtual

Definition at line 44 of file printout.h.

Member Function Documentation

◆ Load()

◆ PrintBorderAndTitleBlock()

bool PRINTOUT_SETTINGS::PrintBorderAndTitleBlock ( ) const
inline

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

Definition at line 55 of file printout.h.

References m_titleBlock.

Referenced by BOARD_PRINTOUT::DrawPage().

◆ Save()

Member Data Documentation

◆ m_background

bool PRINTOUT_SETTINGS::m_background

Print background color.

Definition at line 62 of file printout.h.

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

◆ m_blackWhite

◆ m_colorSettings

COLOR_SETTINGS* PRINTOUT_SETTINGS::m_colorSettings

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(), and DIALOG_PRINT_PCBNEW::saveSettings().

◆ m_pageCount

◆ m_pageInfo

const PAGE_INFO& PRINTOUT_SETTINGS::m_pageInfo

Definition at line 63 of file printout.h.

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

◆ m_scale

double PRINTOUT_SETTINGS::m_scale

◆ m_titleBlock

bool PRINTOUT_SETTINGS::m_titleBlock

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