KiCad PCB EDA Suite
eeschema/dialogs/dialog_print_using_printer.cpp File Reference
#include <fctsys.h>
#include <pgm_base.h>
#include <gr_basic.h>
#include <class_drawpanel.h>
#include <confirm.h>
#include <class_sch_screen.h>
#include <schframe.h>
#include <base_units.h>
#include <general.h>
#include <eeschema_config.h>
#include <sch_sheet.h>
#include <sch_sheet_path.h>
#include <invoke_sch_dialog.h>
#include <dialog_print_using_printer_base.h>

Go to the source code of this file.

Classes

class  DIALOG_PRINT_USING_PRINTER
 Dialog to print schematic. More...
 
class  SCH_PRINTOUT
 Custom print out for printing schematics. More...
 
class  SCH_PREVIEW_FRAME
 Custom schematic print preview frame. More...
 

Macros

#define MAX_VALUE   (INT_MAX/2)
 

Functions

int InvokeDialogPrintUsingPrinter (SCH_EDIT_FRAME *aCaller)
 Create and show DIALOG_PRINT_USING_PRINTER and return whatever DIALOG_PRINT_USING_PRINTER::ShowModal() returns. More...
 

Macro Definition Documentation

#define MAX_VALUE   (INT_MAX/2)

Referenced by SCH_PRINTOUT::DrawPage().

Function Documentation

int InvokeDialogPrintUsingPrinter ( SCH_EDIT_FRAME aCaller)

Create and show DIALOG_PRINT_USING_PRINTER and return whatever DIALOG_PRINT_USING_PRINTER::ShowModal() returns.

Definition at line 478 of file eeschema/dialogs/dialog_print_using_printer.cpp.

Referenced by SCH_EDIT_FRAME::OnPrint().

479 {
480  DIALOG_PRINT_USING_PRINTER dlg( aCaller );
481 
482  return dlg.ShowModal();
483 }