| 
    KiCad PCB EDA Suite
    
   | 
 
#include <gal/color4d.h>#include <gal/painter.h>#include <page_info.h>#include <drawing_sheet/ds_draw_item.h>Go to the source code of this file.
Classes | |
| class | KIGFX::DS_RENDER_SETTINGS | 
| Store page-layout-specific render settings.  More... | |
| class | KIGFX::DS_PAINTER | 
| Methods for painting drawing sheet items.  More... | |
Namespaces | |
| namespace | KIGFX | 
| The Cairo implementation of the graphics abstraction layer.  | |
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 aScalar, const PROJECT *aProject, const wxString &aSheetLayer=wxEmptyString, bool aIsFirstPage=true) | 
| Print the border and title block.   | |
| 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().