KiCad PCB EDA Suite
PCBNEW_PRINTOUT Class Reference

#include <pcbnew_printout.h>

Inheritance diagram for PCBNEW_PRINTOUT:
BOARD_PRINTOUT

Public Member Functions

 PCBNEW_PRINTOUT (BOARD *aBoard, const PCBNEW_PRINTOUT_SETTINGS &aParams, const KIGFX::VIEW *aView, const wxString &aTitle)
 
bool OnPrintPage (int aPage) override
 
void GetPageInfo (int *minPage, int *maxPage, int *selPageFrom, int *selPageTo) override
 
bool HasPage (int aPage) override
 
virtual void DrawPage (const wxString &aLayerName=wxEmptyString, int aPageNum=1, int aPageCount=1)
 Print a page (or a set of pages). More...
 

Protected Member Functions

int milsToIU (double aMils) const override
 

Convert mils to internal units

More...
 
void setupViewLayers (const std::unique_ptr< KIGFX::VIEW > &aView, const LSET &aLayerSet) override
 

Enables layers visibility for a printout

More...
 
void setupPainter (const std::unique_ptr< KIGFX::PAINTER > &aPainter) override
 

Configures PAINTER object for a printout

More...
 
void setupGal (KIGFX::GAL *aGal) override
 

Configures GAL object for a printout

More...
 
EDA_RECT getBoundingBox () override
 

Returns bounding box of the printed objects (excluding worksheet frame)

More...
 
std::unique_ptr< KIGFX::PAINTERgetPainter (KIGFX::GAL *aGal) override
 

Returns a PAINTER instance used to draw the items.

More...
 

Protected Attributes

const KIGFX::VIEWm_view
 

Source VIEW object (note that actual printing only refers to this object)

More...
 
BOARD_PRINTOUT_SETTINGS m_settings
 

Printout parameters

More...
 

Private Attributes

BOARDm_board
 
PCBNEW_PRINTOUT_SETTINGS m_pcbnewSettings
 

Detailed Description

Definition at line 50 of file pcbnew_printout.h.

Constructor & Destructor Documentation

◆ PCBNEW_PRINTOUT()

PCBNEW_PRINTOUT::PCBNEW_PRINTOUT ( BOARD aBoard,
const PCBNEW_PRINTOUT_SETTINGS aParams,
const KIGFX::VIEW aView,
const wxString &  aTitle 
)

Definition at line 69 of file pcbnew_printout.cpp.

70  :
71  BOARD_PRINTOUT( aParams, aView, aTitle ), m_pcbnewSettings( aParams )
72 {
73  m_board = aBoard;
74 }
PCBNEW_PRINTOUT_SETTINGS m_pcbnewSettings
BOARD_PRINTOUT(const BOARD_PRINTOUT_SETTINGS &aParams, const KIGFX::VIEW *aView, const wxString &aTitle)

References m_board.

Member Function Documentation

◆ DrawPage()

void BOARD_PRINTOUT::DrawPage ( const wxString &  aLayerName = wxEmptyString,
int  aPageNum = 1,
int  aPageCount = 1 
)
virtualinherited

Print a page (or a set of pages).

Note: this function prepare print parameters for the function which actually print the draw layers.

Parameters
aLayerName= a text which can be printed as layer name
aPageNum= the number of the current page (only used to print this value)
aPageCount= the number of pages to ptint (only used to print this value)

Definition at line 85 of file board_printout.cpp.

86 {
87  auto dc = GetDC();
89  auto galPrint = KIGFX::GAL_PRINT::Create( options, dc );
90  auto gal = galPrint->GetGAL();
91  auto printCtx = galPrint->GetPrintCtx();
92  auto painter = getPainter( gal );
93  std::unique_ptr<KIGFX::VIEW> view( m_view->DataReference() );
94 
95  // Target paper size
96  wxRect pageSizePx = GetLogicalPageRect();
97  const VECTOR2D pageSizeIn( (double) pageSizePx.width / dc->GetPPI().x,
98  (double) pageSizePx.height / dc->GetPPI().y );
99  galPrint->SetSheetSize( pageSizeIn );
100  const VECTOR2D pageSizeIU( milsToIU( pageSizeIn.x * 1000 ), milsToIU( pageSizeIn.y * 1000 ) );
101 
102  view->SetGAL( gal );
103  view->SetPainter( painter.get() );
104  view->SetScaleLimits( 10e9, 0.0001 );
105  view->SetScale( 1.0 );
106 
107 
108  // Set the color scheme
109  auto dstSettings = view->GetPainter()->GetSettings();
110  dstSettings->LoadColors( m_settings.m_colorSettings );
111 
113  {
114  for( int i = 0; i < LAYER_ID_COUNT; ++i )
115  dstSettings->SetLayerColor( i, COLOR4D::BLACK );
116  }
117  else // color enabled
118  {
119  for( int i = 0; i < LAYER_ID_COUNT; ++i )
120  {
121  // Cairo does not support translucent colors on PostScript surfaces
122  // see 'Features support by the PostScript surface' on
123  // https://www.cairographics.org/documentation/using_the_postscript_surface/
124  dstSettings->SetLayerColor( i, dstSettings->GetLayerColor( i ).WithAlpha( 1.0 ) );
125  }
126  }
127 
129  setupPainter( painter );
130 
131  auto sheetSizeMils = m_settings.m_pageInfo.GetSizeMils();
132  VECTOR2I sheetSizeIU( milsToIU( sheetSizeMils.GetWidth() ), milsToIU( sheetSizeMils.GetHeight() ) );
133  BOX2I bBox;
134 
135  // Determine printout bounding box
137  {
138  bBox = BOX2I( VECTOR2I( 0, 0 ), VECTOR2I( sheetSizeIU ) );
139  view->SetLayerVisible( LAYER_WORKSHEET, true );
140  }
141  else
142  {
143  EDA_RECT targetBbox = getBoundingBox();
144  bBox = BOX2I( targetBbox.GetOrigin(), targetBbox.GetSize() );
145  view->SetLayerVisible( LAYER_WORKSHEET, false );
146  }
147 
148 
149  // Fit to page
150  if( m_settings.m_scale <= 0.0 )
151  {
152  if( bBox.GetWidth() == 0 || bBox.GetHeight() == 0 )
153  {
154  // Nothing to print
155  m_settings.m_scale = 1.0;
156  }
157  else
158  {
159  double scaleX = (double) pageSizeIU.x / bBox.GetWidth();
160  double scaleY = (double) pageSizeIU.y / bBox.GetHeight();
161  m_settings.m_scale = std::min( scaleX, scaleY );
162  }
163  }
164 
165  view->SetPrintMode( 1 );
166 
167  setupGal( gal );
168  galPrint->SetNativePaperSize( pageSizeIn, printCtx->HasNativeLandscapeRotation() );
169  gal->SetLookAtPoint( bBox.Centre() );
170  gal->SetZoomFactor( m_settings.m_scale );
171 
172  gal->SetClearColor( dstSettings->GetBackgroundColor() );
173  gal->ClearScreen();
174 
175  {
176  KIGFX::GAL_DRAWING_CONTEXT ctx( gal );
177  view->Redraw();
178  }
179 
180  view->SetPrintMode( 0 );
181 }
BOX2< VECTOR2I > BOX2I
Definition: box2.h:521
const PAGE_INFO & m_pageInfo
Definition: printout.h:56
virtual std::unique_ptr< KIGFX::PAINTER > getPainter(KIGFX::GAL *aGal)=0
Returns a PAINTER instance used to draw the items.
const KIGFX::VIEW * m_view
Source VIEW object (note that actual printing only refers to this object)
VECTOR2< int > VECTOR2I
Definition: vector2d.h:594
BOARD_PRINTOUT_SETTINGS m_settings
Printout parameters
double m_scale
Printing scale.
Definition: printout.h:51
COLOR_SETTINGS * m_colorSettings
The color settings to be used for printing.
Definition: printout.h:59
virtual int milsToIU(double aMils) const =0
Convert mils to internal units
const wxPoint GetOrigin() const
Definition: eda_rect.h:114
coord_type GetWidth() const
Definition: box2.h:196
virtual void setupGal(KIGFX::GAL *aGal)
Configures GAL object for a printout
bool PrintBorderAndTitleBlock() const
Returns true if the drawing border and title block should be printed.
Definition: printout.h:64
const wxSize & GetSizeMils() const
Definition: page_info.h:142
virtual void setupPainter(const std::unique_ptr< KIGFX::PAINTER > &aPainter)
Configures PAINTER object for a printout
#define LAYER_ID_COUNT
Must update this if you add any enums after GerbView!
bool m_blackWhite
Print in B&W or Color.
Definition: printout.h:53
std::unique_ptr< VIEW > DataReference() const
Returns a new VIEW object that shares the same set of VIEW_ITEMs and LAYERs.
Definition: view.cpp:1476
virtual void setupViewLayers(const std::unique_ptr< KIGFX::VIEW > &aView, const LSET &aLayerSet)
Enables layers visibility for a printout
Vec Centre() const
Definition: box2.h:78
EDA_RECT handles the component boundary box.
Definition: eda_rect.h:44
coord_type GetHeight() const
Definition: box2.h:197
Definition: colors.h:45
virtual EDA_RECT getBoundingBox()=0
Returns bounding box of the printed objects (excluding worksheet frame)
LSET m_layerSet
Layers to print.
const wxSize GetSize() const
Definition: eda_rect.h:103

References BLACK, BOX2< Vec >::Centre(), KIGFX::VIEW::DataReference(), BOARD_PRINTOUT::getBoundingBox(), BOX2< Vec >::GetHeight(), EDA_RECT::GetOrigin(), BOARD_PRINTOUT::getPainter(), EDA_RECT::GetSize(), PAGE_INFO::GetSizeMils(), BOX2< Vec >::GetWidth(), LAYER_ID_COUNT, LAYER_WORKSHEET, PRINTOUT_SETTINGS::m_blackWhite, PRINTOUT_SETTINGS::m_colorSettings, BOARD_PRINTOUT_SETTINGS::m_layerSet, PRINTOUT_SETTINGS::m_pageInfo, PRINTOUT_SETTINGS::m_scale, BOARD_PRINTOUT::m_settings, BOARD_PRINTOUT::m_view, BOARD_PRINTOUT::milsToIU(), PRINTOUT_SETTINGS::PrintBorderAndTitleBlock(), BOARD_PRINTOUT::setupGal(), BOARD_PRINTOUT::setupPainter(), BOARD_PRINTOUT::setupViewLayers(), VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by GERBVIEW_PRINTOUT::OnPrintPage(), and OnPrintPage().

◆ getBoundingBox()

EDA_RECT PCBNEW_PRINTOUT::getBoundingBox ( )
overrideprotectedvirtual

Returns bounding box of the printed objects (excluding worksheet frame)

Implements BOARD_PRINTOUT.

Definition at line 212 of file pcbnew_printout.cpp.

213 {
214  return m_board->ComputeBoundingBox();
215 }
EDA_RECT ComputeBoundingBox(bool aBoardEdgesOnly=false) const
Function ComputeBoundingBox calculates the bounding box containing all board items (or board edge seg...

References BOARD::ComputeBoundingBox(), and m_board.

◆ GetPageInfo()

void BOARD_PRINTOUT::GetPageInfo ( int *  minPage,
int *  maxPage,
int *  selPageFrom,
int *  selPageTo 
)
overrideinherited

Definition at line 75 of file board_printout.cpp.

76 {
77  *minPage = 1;
78  *selPageFrom = 1;
79 
80  *maxPage = m_settings.m_pageCount;
81  *selPageTo = m_settings.m_pageCount;
82 }
BOARD_PRINTOUT_SETTINGS m_settings
Printout parameters
int m_pageCount
Number of pages to print.
Definition: printout.h:54

References PRINTOUT_SETTINGS::m_pageCount, and BOARD_PRINTOUT::m_settings.

◆ getPainter()

std::unique_ptr< KIGFX::PAINTER > PCBNEW_PRINTOUT::getPainter ( KIGFX::GAL aGal)
overrideprotectedvirtual

Returns a PAINTER instance used to draw the items.

Implements BOARD_PRINTOUT.

Definition at line 218 of file pcbnew_printout.cpp.

219 {
220  return std::unique_ptr<KIGFX::PAINTER>( new KIGFX::PCB_PRINT_PAINTER( aGal ) );
221 }
Special flavor of PCB_PAINTER that contains modifications to handle printing options.

◆ HasPage()

bool BOARD_PRINTOUT::HasPage ( int  aPage)
inlineoverrideinherited

Definition at line 78 of file board_printout.h.

79  {
80  return aPage <= m_settings.m_pageCount;
81  }
BOARD_PRINTOUT_SETTINGS m_settings
Printout parameters
int m_pageCount
Number of pages to print.
Definition: printout.h:54

References PRINTOUT_SETTINGS::m_pageCount, and BOARD_PRINTOUT::m_settings.

◆ milsToIU()

int PCBNEW_PRINTOUT::milsToIU ( double  aMils) const
overrideprotectedvirtual

Convert mils to internal units

Implements BOARD_PRINTOUT.

Definition at line 121 of file pcbnew_printout.cpp.

122 {
123  return KiROUND( IU_PER_MILS * aMils );
124 }
#define IU_PER_MILS
Definition: plotter.cpp:138
constexpr ret_type KiROUND(fp_type v)
Round a floating point number to an integer using "round halfway cases away from zero".
Definition: util.h:61

References IU_PER_MILS, and KiROUND().

◆ OnPrintPage()

bool PCBNEW_PRINTOUT::OnPrintPage ( int  aPage)
override

Definition at line 77 of file pcbnew_printout.cpp.

78 {
79  // Store the layerset, as it is going to be modified below and the original settings are
80  // needed.
81  LSET lset = m_settings.m_layerSet;
82  int pageCount = lset.count();
83  wxString layer;
84  PCB_LAYER_ID extractLayer;
85 
86  // compute layer mask from page number if we want one page per layer
88  {
89  // This sequence is TBD, call a different sequencer if needed, such as Seq().
90  // Could not find documentation on page order.
91  LSEQ seq = lset.UIOrder();
92 
93  // aPage starts at 1, not 0
94  if( unsigned( aPage - 1 ) < seq.size() )
95  m_settings.m_layerSet = LSET( seq[aPage - 1] );
96  }
97 
98  if( !m_settings.m_layerSet.any() )
99  return false;
100 
101  extractLayer = m_settings.m_layerSet.ExtractLayer();
102 
103  if( extractLayer == UNDEFINED_LAYER )
104  layer = _( "Multiple Layers" );
105  else
106  layer = LSET::Name( extractLayer );
107 
108  // In Pcbnew we can want the layer EDGE always printed
111 
112  DrawPage( layer, aPage, pageCount );
113 
114  // Restore the original layer set, so the next page can be printed
115  m_settings.m_layerSet = lset;
116 
117  return true;
118 }
bool m_noEdgeLayer
Disable board outline on each page.
virtual void DrawPage(const wxString &aLayerName=wxEmptyString, int aPageNum=1, int aPageCount=1)
Print a page (or a set of pages).
BOARD_PRINTOUT_SETTINGS m_settings
Printout parameters
PCB_LAYER_ID
A quick note on layer IDs:
LSET is a set of PCB_LAYER_IDs.
static const wxChar * Name(PCB_LAYER_ID aLayerId)
Function Name returns the fixed name association with aLayerId.
Definition: lset.cpp:78
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
PCB_LAYER_ID ExtractLayer() const
Find the first set PCB_LAYER_ID.
Definition: lset.cpp:625
PCBNEW_PRINTOUT_SETTINGS m_pcbnewSettings
#define _(s)
Definition: 3d_actions.cpp:33
enum PCBNEW_PRINTOUT_SETTINGS::PAGINATION_T m_pagination
Pagination.
LSEQ UIOrder() const
Definition: lset.cpp:839
LSET m_layerSet
Layers to print.

References _, BOARD_PRINTOUT::DrawPage(), Edge_Cuts, LSET::ExtractLayer(), PCBNEW_PRINTOUT_SETTINGS::LAYER_PER_PAGE, BOARD_PRINTOUT_SETTINGS::m_layerSet, PCBNEW_PRINTOUT_SETTINGS::m_noEdgeLayer, PCBNEW_PRINTOUT_SETTINGS::m_pagination, m_pcbnewSettings, BOARD_PRINTOUT::m_settings, LSET::Name(), LSET::UIOrder(), and UNDEFINED_LAYER.

◆ setupGal()

void PCBNEW_PRINTOUT::setupGal ( KIGFX::GAL aGal)
overrideprotectedvirtual

Configures GAL object for a printout

Reimplemented from BOARD_PRINTOUT.

Definition at line 205 of file pcbnew_printout.cpp.

206 {
207  BOARD_PRINTOUT::setupGal( aGal );
208  aGal->SetWorldUnitLength( 1e-9 /* 1 nm */ / 0.0254 /* 1 inch in meters */ );
209 }
virtual void setupGal(KIGFX::GAL *aGal)
Configures GAL object for a printout
void SetWorldUnitLength(double aWorldUnitLength)
Set the unit length.

References BOARD_PRINTOUT::setupGal(), and KIGFX::GAL::SetWorldUnitLength().

◆ setupPainter()

void PCBNEW_PRINTOUT::setupPainter ( const std::unique_ptr< KIGFX::PAINTER > &  aPainter)
overrideprotectedvirtual

Configures PAINTER object for a printout

Reimplemented from BOARD_PRINTOUT.

Definition at line 175 of file pcbnew_printout.cpp.

176 {
177  BOARD_PRINTOUT::setupPainter( aPainter );
178 
179  KIGFX::PCB_PRINT_PAINTER* painter = static_cast<KIGFX::PCB_PRINT_PAINTER*>( aPainter.get() );
180 
182  {
184  painter->SetDrillMarks( false, 0 );
185  break;
186 
188  painter->SetDrillMarks( false, Millimeter2iu( 0.3 ) );
189  break;
190 
192  painter->SetDrillMarks( true );
193  break;
194  }
195 
198 
202 }
handle color for not plated holes (holes, not pads)
Special flavor of PCB_PAINTER that contains modifications to handle printing options.
to draw via holes (pad holes do not use this layer)
virtual PCB_RENDER_SETTINGS * GetSettings() override
Definition: pcb_painter.h:232
void SetLayerColor(int aLayer, const COLOR4D &aColor)
Function SetLayerColor Changes the color used to draw a layer.
virtual void setupPainter(const std::unique_ptr< KIGFX::PAINTER > &aPainter)
Configures PAINTER object for a printout
void SetDrawIndividualViaLayers(bool aFlag)
Definition: pcb_painter.h:167
PCBNEW_PRINTOUT_SETTINGS m_pcbnewSettings
enum PCBNEW_PRINTOUT_SETTINGS::PAGINATION_T m_pagination
Pagination.
Definition: colors.h:49
enum PCBNEW_PRINTOUT_SETTINGS::DRILL_MARK_SHAPE_T m_drillMarks
Drill marks shape.
void SetDrillMarks(bool aRealSize, unsigned int aSize=0)
Set drill marks visibility and options.

References PCBNEW_PRINTOUT_SETTINGS::FULL_DRILL_SHAPE, KIGFX::PCB_PAINTER::GetSettings(), LAYER_NON_PLATEDHOLES, LAYER_PADS_PLATEDHOLES, PCBNEW_PRINTOUT_SETTINGS::LAYER_PER_PAGE, LAYER_VIAS_HOLES, PCBNEW_PRINTOUT_SETTINGS::m_drillMarks, PCBNEW_PRINTOUT_SETTINGS::m_pagination, m_pcbnewSettings, PCBNEW_PRINTOUT_SETTINGS::NO_DRILL_SHAPE, KIGFX::PCB_RENDER_SETTINGS::SetDrawIndividualViaLayers(), KIGFX::PCB_PRINT_PAINTER::SetDrillMarks(), KIGFX::RENDER_SETTINGS::SetLayerColor(), BOARD_PRINTOUT::setupPainter(), PCBNEW_PRINTOUT_SETTINGS::SMALL_DRILL_SHAPE, and WHITE.

◆ setupViewLayers()

void PCBNEW_PRINTOUT::setupViewLayers ( const std::unique_ptr< KIGFX::VIEW > &  aView,
const LSET aLayerSet 
)
overrideprotectedvirtual

Enables layers visibility for a printout

Reimplemented from BOARD_PRINTOUT.

Definition at line 127 of file pcbnew_printout.cpp.

129 {
130  BOARD_PRINTOUT::setupViewLayers( aView, aLayerSet );
131 
132  for( LSEQ layerSeq = m_settings.m_layerSet.Seq(); layerSeq; ++layerSeq )
133  aView->SetLayerVisible( PCBNEW_LAYER_ID_START + *layerSeq, true );
134 
135  // Enable pad layers corresponding to the selected copper layers
136  if( aLayerSet.test( F_Cu ) )
137  aView->SetLayerVisible( LAYER_PAD_FR, true );
138 
139  if( aLayerSet.test( B_Cu ) )
140  aView->SetLayerVisible( LAYER_PAD_BK, true );
141 
142  if( ( aLayerSet & LSET::AllCuMask() ).any() ) // Items visible on any copper layer
143  {
144  // Enable items on copper layers, but do not draw holes
145  for( GAL_LAYER_ID item : { LAYER_PADS_TH, LAYER_VIAS } )
146  {
147  aView->SetLayerVisible( item, true );
148  }
149 
151  {
152  // Enable hole layers to draw drill marks
154  LAYER_VIAS_HOLES } )
155  {
156  aView->SetLayerVisible( holeLayer, true );
157  aView->SetTopLayer( holeLayer, true );
158  }
159  }
160  }
161 
162 
163  // Keep certain items always enabled/disabled and just rely on the layer visibility
164  const int alwaysEnabled[] = {
168  };
169 
170  for( int item : alwaysEnabled )
171  aView->SetLayerVisible( item, true );
172 }
static LSET AllCuMask(int aCuLayerCount=MAX_CU_LAYERS)
Function AllCuMask returns a mask holding the requested number of Cu PCB_LAYER_IDs.
Definition: lset.cpp:712
to draw blind/buried vias
multilayer pads, usually with holes
handle color for not plated holes (holes, not pads)
GAL_LAYER_ID
GAL layers are "virtual" layers, i.e.
to draw via holes (pad holes do not use this layer)
show modules values (when texts are visibles)
LSEQ Seq(const PCB_LAYER_ID *aWishListSequence, unsigned aCount) const
Function Seq returns an LSEQ from the union of this LSET and a desired sequence.
Definition: lset.cpp:377
BOARD_PRINTOUT_SETTINGS m_settings
Printout parameters
show modules on front
to draw usual through hole vias
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
smd pads, front layer
virtual void setupViewLayers(const std::unique_ptr< KIGFX::VIEW > &aView, const LSET &aLayerSet)
Enables layers visibility for a printout
PCBNEW_PRINTOUT_SETTINGS m_pcbnewSettings
enum PCBNEW_PRINTOUT_SETTINGS::DRILL_MARK_SHAPE_T m_drillMarks
Drill marks shape.
show modules references (when texts are visibles)
LSET m_layerSet
Layers to print.

References LSET::AllCuMask(), B_Cu, F_Cu, LAYER_MOD_BK, LAYER_MOD_FR, LAYER_MOD_REFERENCES, LAYER_MOD_TEXT_BK, LAYER_MOD_TEXT_FR, LAYER_MOD_VALUES, LAYER_NON_PLATEDHOLES, LAYER_PAD_BK, LAYER_PAD_FR, LAYER_PADS_PLATEDHOLES, LAYER_PADS_TH, LAYER_TRACKS, LAYER_VIA_BBLIND, LAYER_VIA_MICROVIA, LAYER_VIA_THROUGH, LAYER_VIAS, LAYER_VIAS_HOLES, PCBNEW_PRINTOUT_SETTINGS::m_drillMarks, BOARD_PRINTOUT_SETTINGS::m_layerSet, m_pcbnewSettings, BOARD_PRINTOUT::m_settings, PCBNEW_PRINTOUT_SETTINGS::NO_DRILL_SHAPE, PCBNEW_LAYER_ID_START, LSET::Seq(), and BOARD_PRINTOUT::setupViewLayers().

Member Data Documentation

◆ m_board

BOARD* PCBNEW_PRINTOUT::m_board
private

Definition at line 72 of file pcbnew_printout.h.

Referenced by getBoundingBox(), and PCBNEW_PRINTOUT().

◆ m_pcbnewSettings

PCBNEW_PRINTOUT_SETTINGS PCBNEW_PRINTOUT::m_pcbnewSettings
private

Definition at line 74 of file pcbnew_printout.h.

Referenced by OnPrintPage(), setupPainter(), and setupViewLayers().

◆ m_settings

◆ m_view

const KIGFX::VIEW* BOARD_PRINTOUT::m_view
protectedinherited

Source VIEW object (note that actual printing only refers to this object)

Definition at line 114 of file board_printout.h.

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


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