21#ifndef PCBNEW_PRINTOUT_H 
   22#define PCBNEW_PRINTOUT_H 
   59    int milsToIU( 
double aMils ) 
const override;
 
 
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
 
BOARD_PRINTOUT(const BOARD_PRINTOUT_SETTINGS &aParams, const KIGFX::VIEW *aView, const wxString &aTitle)
 
Information pertinent to a Pcbnew printed circuit board.
 
Abstract interface for drawing on a 2D-surface.
 
Contains all the knowledge about how to draw graphical object onto any particular output device.
 
PCB_PAINTER(GAL *aGal, FRAME_T aFrameType)
 
void SetDrillMarks(bool aRealSize, unsigned int aSize=0)
Set drill marks visibility and options.
 
SHAPE_SEGMENT getPadHoleShape(const PAD *aPad) const override
Return hole shape for a pad (internal units).
 
PCB_PRINT_PAINTER(GAL *aGal)
 
int getViaDrillSize(const PCB_VIA *aVia) const override
Return drill diameter for a via (internal units).
 
int m_drillMarkSize
User-specified size (in internal units)
 
PAD_DRILL_SHAPE getDrillShape(const PAD *aPad) const override
Return drill shape of a pad.
 
bool m_drillMarkReal
Actual hole size or user-specified size for drill marks.
 
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
 
LSET is a set of PCB_LAYER_IDs.
 
Describe the page size and margins of a paper page on which to eventually print or plot.
 
int milsToIU(double aMils) const override
Convert mils to internal units.
 
bool OnPrintPage(int aPage) override
 
std::unique_ptr< KIGFX::PAINTER > getPainter(KIGFX::GAL *aGal) override
Return the #PAINTER instance used to draw the items.
 
void setupGal(KIGFX::GAL *aGal) override
Configure GAL object for a printout.
 
PCBNEW_PRINTOUT(BOARD *aBoard, const PCBNEW_PRINTOUT_SETTINGS &aParams, const KIGFX::VIEW *aView, const wxString &aTitle)
 
PCBNEW_PRINTOUT_SETTINGS m_pcbnewSettings
 
void setupPainter(KIGFX::PAINTER &aPainter) override
Configure #PAINTER object for a printout.
 
BOX2I getBoundingBox() override
Return bounding box of the printed objects (excluding drawing-sheet frame).
 
void setupViewLayers(KIGFX::VIEW &aView, const LSET &aLayerSet) override
Enable layers visibility for a printout.
 
The Cairo implementation of the graphics abstraction layer.
 
PAD_DRILL_SHAPE
The set of pad drill shapes, used with PAD::{Set,Get}DrillShape()
 
DRILL_MARKS
Plots and prints can show holes in pads and vias 3 options are available:
 
BOARD_PRINTOUT_SETTINGS(const PAGE_INFO &aPageInfo)
 
enum PCBNEW_PRINTOUT_SETTINGS::PAGINATION_T m_Pagination
 
bool m_PrintEdgeCutsOnAllPages
Print board outline on each page.
 
enum DRILL_MARKS m_DrillMarks
 
bool m_AsItemCheckboxes
Honor checkboxes in the Items tab of the Layers Manager.
 
void Load(APP_SETTINGS_BASE *aConfig) override
 
void Save(APP_SETTINGS_BASE *aConfig) override
 
PCBNEW_PRINTOUT_SETTINGS(const PAGE_INFO &aPageInfo)