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