KiCad PCB EDA Suite
|
Custom print out for printing schematics. More...
Public Member Functions | |
SCH_PRINTOUT (SCH_EDIT_FRAME *aParent, const wxString &aTitle) | |
bool | OnPrintPage (int page) override |
bool | HasPage (int page) override |
bool | OnBeginDocument (int startPage, int endPage) override |
void | GetPageInfo (int *minPage, int *maxPage, int *selPageFrom, int *selPageTo) override |
void | PrintPage (SCH_SCREEN *aScreen) |
Private Attributes | |
SCH_EDIT_FRAME * | m_parent |
Custom print out for printing schematics.
Definition at line 68 of file dialog_print_using_printer.cpp.
|
inline |
Definition at line 71 of file dialog_print_using_printer.cpp.
References m_parent.
|
override |
Definition at line 384 of file dialog_print_using_printer.cpp.
References SCH_SHEET::CountSheets(), m_parent, SCHEMATIC::Root(), and SCH_EDIT_FRAME::Schematic().
|
override |
Definition at line 391 of file dialog_print_using_printer.cpp.
References SCH_SHEET::CountSheets(), m_parent, SCHEMATIC::Root(), and SCH_EDIT_FRAME::Schematic().
|
override |
Definition at line 397 of file dialog_print_using_printer.cpp.
|
override |
Definition at line 355 of file dialog_print_using_printer.cpp.
References _, SCH_EDIT_FRAME::GetCurrentSheet(), SCH_EDIT_FRAME::GetScreen(), SCHEMATIC::GetSheets(), SCH_SHEET_PATH::LastScreen(), m_parent, PrintPage(), SCH_EDIT_FRAME::Schematic(), SCH_EDIT_FRAME::SetCurrentSheet(), EDA_DRAW_FRAME::SetMsgPanel(), SCH_EDIT_FRAME::SetSheetNumberAndCount(), and SCH_SHEET_PATH::UpdateAllScreenReferences().
void SCH_PRINTOUT::PrintPage | ( | SCH_SCREEN * | aScreen | ) |
Definition at line 409 of file dialog_print_using_printer.cpp.
References APP_SETTINGS_BASE::PRINTING::background, APP_SETTINGS_BASE::PRINTING::color_theme, EESCHEMA_SETTINGS::APPEARANCE::default_font, dummy, SCH_BASE_FRAME::eeconfig(), COLOR_SETTINGS::GetColor(), SCH_BASE_FRAME::GetColorSettings(), SETTINGS_MANAGER::GetColorSettings(), SCH_BASE_FRAME::GetDrawBgColor(), SCH_SCREEN::GetFileName(), KIGFX::RENDER_SETTINGS::GetLayerColor(), SCH_SCREEN::GetPageSettings(), SCHEMATIC::GetProperties(), SCH_BASE_FRAME::GetRenderSettings(), PAGE_INFO::GetSizeIU(), GRForceBlackPen(), GRResetPenAndBrush(), GRSFilledRect(), EDA_IU_SCALE::IU_PER_MILS, LAYER_DRAWINGSHEET, LAYER_SCHEMATIC_BACKGROUND, LAYER_SCHEMATIC_DRAWINGSHEET, KIGFX::SCH_RENDER_SETTINGS::LoadColors(), EESCHEMA_SETTINGS::m_Appearance, BASE_SCREEN::m_DrawOrg, m_parent, M_PI_2, APP_SETTINGS_BASE::m_Printing, BASE_SCREEN::m_StartVisu, APP_SETTINGS_BASE::PRINTING::monochrome, Pgm(), SCH_SCREEN::Print(), EDA_DRAW_FRAME::PrintDrawingSheet(), SCH_SCREEN::Schematic(), schIUScale, KIGFX::SCH_RENDER_SETTINGS::SetBackgroundColor(), KIGFX::RENDER_SETTINGS::SetDefaultFont(), EDA_DRAW_FRAME::SetDrawBgColor(), KIGFX::RENDER_SETTINGS::SetIsPrinting(), KIGFX::RENDER_SETTINGS::SetLayerColor(), KIGFX::RENDER_SETTINGS::SetPrintDC(), APP_SETTINGS_BASE::PRINTING::title_block, APP_SETTINGS_BASE::PRINTING::use_theme, and WHITE.
Referenced by OnPrintPage().
|
private |
Definition at line 85 of file dialog_print_using_printer.cpp.
Referenced by GetPageInfo(), HasPage(), OnPrintPage(), PrintPage(), and SCH_PRINTOUT().