41                                      const KIGFX::VIEW* aView, 
const wxString& aTitle ) :
 
 
   55    wxCHECK( 
unsigned( aPage - 1 ) < seq.size(), 
false );
 
   56    auto layerId = seq[aPage - 1];
 
   66    wxString                gbr_filename;
 
 
  104    return m_layout->ComputeBoundingBox();
 
 
  110    return std::make_unique<KIGFX::GERBVIEW_PAINTER>( aGal );
 
 
BASE_SCREEN class implementation.
 
constexpr EDA_IU_SCALE gerbIUScale
 
constexpr BOX2I KiROUND(const BOX2D &aBoxD)
 
virtual void DrawPage(const wxString &aLayerName=wxEmptyString, int aPageNum=1, int aPageCount=1)
Print a page (or a set of pages).
 
bool m_gerbviewPrint
True if the caller is Gerbview, false for Pcbnew.
 
virtual void setupViewLayers(KIGFX::VIEW &aView, const LSET &aLayerSet)
Enable layers visibility for a printout.
 
BOARD_PRINTOUT(const BOARD_PRINTOUT_SETTINGS &aParams, const KIGFX::VIEW *aView, const wxString &aTitle)
 
virtual void setupGal(KIGFX::GAL *aGal)
Configure GAL object for a printout.
 
BOARD_PRINTOUT_SETTINGS m_settings
Printout parameters.
 
A list of GERBER_DRAW_ITEM objects currently loaded.
 
GERBER_FILE_IMAGE_LIST is a helper class to handle a list of GERBER_FILE_IMAGE files which are loaded...
 
static GERBER_FILE_IMAGE_LIST & GetImagesList()
 
Hold the image data and parameters for one gerber file and layer parameters.
 
wxString m_FileName
Full File Name for this layer.
 
void setupGal(KIGFX::GAL *aGal) override
Configure GAL object for a printout.
 
std::unique_ptr< KIGFX::PAINTER > getPainter(KIGFX::GAL *aGal) override
Return the #PAINTER instance used to draw the items.
 
bool OnPrintPage(int aPage) override
 
int milsToIU(double aMils) const override
Convert mils to internal units.
 
void setupViewLayers(KIGFX::VIEW &aView, const LSET &aLayerSet) override
Enable layers visibility for a printout.
 
BOX2I getBoundingBox() override
Return bounding box of the printed objects (excluding drawing-sheet frame).
 
GERBVIEW_PRINTOUT(GBR_LAYOUT *aLayout, const BOARD_PRINTOUT_SETTINGS &aParams, const KIGFX::VIEW *aView, const wxString &aTitle)
 
Abstract interface for drawing on a 2D-surface.
 
void SetWorldUnitLength(double aWorldUnitLength)
Set the unit length.
 
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
 
void SetLayerVisible(int aLayer, bool aVisible=true)
Control the visibility of a particular layer.
 
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
 
LSET is a set of PCB_LAYER_IDs.
 
LSEQ UIOrder() const
Return the copper, technical and user layers in the order shown in layer widget.
 
@ GERBVIEW_LAYER_ID_START
 
PCB_LAYER_ID
A quick note on layer IDs: