| 
    KiCad PCB EDA Suite
    
   | 
 
#include <api/api_plugin_manager.h>#include <base_screen.h>#include <bitmaps.h>#include <confirm.h>#include <core/arraydim.h>#include <core/kicad_algo.h>#include <dialog_shim.h>#include <dialogs/hotkey_cycle_popup.h>#include <eda_draw_frame.h>#include <file_history.h>#include <gal/graphics_abstraction_layer.h>#include <id.h>#include <kiface_base.h>#include <kiplatform/ui.h>#include <lockfile.h>#include <macros.h>#include <math/vector2wx.h>#include <page_info.h>#include <paths.h>#include <pgm_base.h>#include <render_settings.h>#include <settings/app_settings.h>#include <settings/color_settings.h>#include <settings/common_settings.h>#include <settings/settings_manager.h>#include <title_block.h>#include <tool/actions.h>#include <tool/action_toolbar.h>#include <tool/common_tools.h>#include <tool/grid_helper.h>#include <tool/grid_menu.h>#include <tool/selection_conditions.h>#include <tool/tool_dispatcher.h>#include <tool/tool_manager.h>#include <tool/tool_menu.h>#include <tool/zoom_menu.h>#include <trace_helpers.h>#include <view/view.h>#include <drawing_sheet/ds_draw_item.h>#include <view/view_controls.h>#include <widgets/kistatusbar.h>#include <widgets/msgpanel.h>#include <widgets/properties_panel.h>#include <widgets/net_inspector_panel.h>#include <widgets/filedlg_hook_new_library.h>#include <wx/event.h>#include <wx/snglinst.h>#include <widgets/ui_common.h>#include <widgets/search_pane.h>#include <wx/dirdlg.h>#include <wx/filedlg.h>#include <wx/debug.h>#include <wx/socket.h>#include <wx/fdrepdlg.h>Go to the source code of this file.
Macros | |
| #define | FR_HISTORY_LIST_CNT 10 | 
| Maximum size of the find/replace history stacks.   | |
Functions | |
| void | PrintDrawingSheet (const RENDER_SETTINGS *aSettings, const PAGE_INFO &aPageInfo, const wxString &aSheetName, const wxString &aSheetPath, const wxString &aFileName, const TITLE_BLOCK &aTitleBlock, const std::map< wxString, wxString > *aProperties, int aSheetCount, const wxString &aPageNumber, double aMils2Iu, const PROJECT *aProject, const wxString &aSheetLayer, bool aIsFirstPage) | 
| Print the border and title block.   | |
| #define FR_HISTORY_LIST_CNT 10 | 
Maximum size of the find/replace history stacks.
Definition at line 83 of file eda_draw_frame.cpp.
Referenced by EDA_DRAW_FRAME::SaveSettings().
| void PrintDrawingSheet | ( | const RENDER_SETTINGS * | aSettings, | 
| const PAGE_INFO & | aPageInfo, | ||
| const wxString & | aSheetName, | ||
| const wxString & | aSheetPath, | ||
| const wxString & | aFileName, | ||
| const TITLE_BLOCK & | aTitleBlock, | ||
| const std::map< wxString, wxString > * | aProperties, | ||
| int | aSheetCount, | ||
| const wxString & | aPageNumber, | ||
| double | aScalar, | ||
| const PROJECT * | aProject, | ||
| const wxString & | aSheetLayer = wxEmptyString, | ||
| bool | aIsFirstPage = true ) | 
Print the border and title block.
| aDC | The device context. | 
| aPageInfo | for margins and page size (in mils). | 
| aSheetName | The sheet name, for basic inscriptions. | 
| aSheetPath | The sheetpath (full sheet name), for basic inscriptions. | 
| aFileName | The file name, for basic inscriptions. | 
| aTitleBlock | The sheet title block, for text variable resolution. | 
| aProperties | Optional properties for text variable resolution. | 
| aSheetCount | The number of sheets (for text variable resolution). | 
| aPageNumber | The page number. | 
| aScalar | the scale factor to convert from mils to internal units. | 
| aSheetLayer | The layer from Pcbnew. | 
| aIsFirstPage | True when this is the first page. This only has meaning for schematics. | 
Parameters used in aPageInfo
Definition at line 1125 of file eda_draw_frame.cpp.
References DS_DRAW_ITEM_LIST::BuildDrawItemsList(), KIGFX::RENDER_SETTINGS::GetDefaultPenWidth(), DS_DRAW_ITEM_LIST::Print(), DS_DRAW_ITEM_LIST::SetDefaultPenSize(), DS_DRAW_ITEM_LIST::SetFileName(), DS_DRAW_ITEM_LIST::SetIsFirstPage(), DS_DRAW_ITEM_LIST::SetPageNumber(), DS_DRAW_ITEM_LIST::SetPlotterMilsToIUfactor(), DS_DRAW_ITEM_LIST::SetProject(), DS_DRAW_ITEM_LIST::SetProperties(), DS_DRAW_ITEM_LIST::SetSheetCount(), DS_DRAW_ITEM_LIST::SetSheetLayer(), DS_DRAW_ITEM_LIST::SetSheetName(), DS_DRAW_ITEM_LIST::SetSheetPath(), and unityScale.
Referenced by DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample().