26 #ifndef DS_PROXY_VIEW_ITEM_H 27 #define DS_PROXY_VIEW_ITEM_H 109 void ViewGetLayers(
int aLayers[],
int& aCount )
const override;
112 void Show(
int x, std::ostream& st )
const override { }
121 return wxT(
"DS_PROXY_VIEW_ITEM" );
void SetIsFirstPage(bool aIsFirstPage)
Change if this is first page.
int m_pageBorderColorLayer
Layer that is used for page border color.
const PAGE_INFO & GetPageInfo()
Container for project specific data.
The Cairo implementation of the graphics abstraction layer.
void SetColorLayer(int aLayerId)
Can be used to override which layer ID is used for drawing sheet item colors.
void ViewGetLayers(int aLayers[], int &aCount) const override
void SetFileName(const std::string &aFileName)
Set the file name displayed in the title block.
bool HitTestDrawingSheetItems(KIGFX::VIEW *aView, const wxPoint &aPosition)
void SetSheetCount(int aSheetCount)
Changes the sheet-count number displayed in the title block.
Hold the information shown in the lower right corner of a plot, printout, or editing view.
void SetSheetName(const std::string &aSheetName)
Set the sheet name displayed in the title block.
A 2D bounding box built on top of an origin point and size vector.
DS_PROXY_VIEW_ITEM(int aScaleFactor, const PAGE_INFO *aPageInfo, const PROJECT *aProject, const TITLE_BLOCK *aTitleBlock)
int m_colorLayer
Layer that is used for drawing sheet color (LAYER_DRAWINGSHEET is always used for visibility)
int m_mils2IUscalefactor
the factor between mils (units used in drawing sheet and internal units) it is the value IU_PER_MILS ...
Describe the page size and margins of a paper page on which to eventually print or plot.
void buildDrawList(KIGFX::VIEW *aView, DS_DRAW_ITEM_LIST *aDrawList) const
virtual wxString GetClass() const override
Get class name.
const TITLE_BLOCK * m_titleBlock
const PAGE_INFO * m_pageInfo
Non filled rectangle with thick segment.
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override
const BOX2I ViewBBox() const override
Information pertinent to a Pcbnew printed circuit board.
const TITLE_BLOCK & GetTitleBlock()
A base class for most all the KiCad significant classes used in schematics and boards.
Store the list of graphic items: rect, lines, polygons and texts to draw/plot the title block and fra...
void SetPageNumber(const std::string &aPageNumber)
Changes the page number displayed in the title block.
void SetPageBorderColorLayer(int aLayerId)
Overrides the layer used to pick the color of the page border (normally LAYER_GRID)
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
const PROJECT * m_project