KiCad PCB EDA Suite
|
Wrapper around GAL to provide information needed for printing. More...
#include <gal_print.h>
Public Member Functions | |
virtual | ~GAL_PRINT () |
virtual GAL * | GetGAL ()=0 |
virtual PRINT_CONTEXT * | GetPrintCtx () const =0 |
virtual void | SetNativePaperSize (const VECTOR2D &aSize, bool aRotateIfLandscape)=0 |
virtual void | SetSheetSize (const VECTOR2D &aSize)=0 |
Static Public Member Functions | |
static std::unique_ptr< GAL_PRINT > | Create (GAL_DISPLAY_OPTIONS &aOptions, wxDC *aDC) |
Wrapper around GAL to provide information needed for printing.
Definition at line 43 of file gal_print.h.
|
inlinevirtual |
Definition at line 48 of file gal_print.h.
|
static |
Definition at line 209 of file cairo_print.cpp.
Referenced by BOARD_PRINTOUT::DrawPage(), and SCH_PRINTOUT::PrintPage().
|
pure virtual |
Implemented in KIGFX::CAIRO_PRINT_GAL.
|
pure virtual |
Implemented in KIGFX::CAIRO_PRINT_GAL.
|
pure virtual |
aSize | is the printing sheet size expressed in inches. |
aRotateIfLandscape | true if the platform requires 90 degrees rotation in order to print in landscape format. |
Implemented in KIGFX::CAIRO_PRINT_GAL.
|
pure virtual |
aSize | is the schematics sheet size expressed in inches. |
Implemented in KIGFX::CAIRO_PRINT_GAL.