115 wxCHECK( editFrame, );
157 if( std::shared_ptr< LIB_SYMBOL > parent = aSymbol->
GetRootSymbol() )
158 drawnSymbol = parent.get();
constexpr EDA_IU_SCALE schIUScale
int GetVirtualPageNumber() const
const wxString & GetPageNumber() const
constexpr void SetOrigin(const Vec &pos)
constexpr void SetSize(const SizeVec &size)
bool IsType(FRAME_T aType) const
std::unique_ptr< DS_PROXY_VIEW_ITEM > m_drawingSheet
SCH_VIEW(SCH_BASE_FRAME *aFrame)
void DisplaySymbol(LIB_SYMBOL *aSymbol)
void ResizeSheetWorkingArea(const SCH_SCREEN *aScreen)
void DisplaySheet(const SCH_SCREEN *aScreen)
void SetScale(double aScale, VECTOR2D aAnchor={ 0, 0 }) override
Set the scaling factor, zooming around a given anchor point.
void ClearHiddenFlags()
Clear the hide flag of all items in the view.
An abstract base class for deriving all objects that can be added to a VIEW.
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
virtual void SetScale(double aScale, VECTOR2D aAnchor={ 0, 0 })
Set the scaling factor, zooming around a given anchor point.
virtual void Add(VIEW_ITEM *aItem, int aDrawPriority=-1)
Add a VIEW_ITEM to the view.
std::shared_ptr< std::vector< VIEW_ITEM * > > m_allItems
Flat list of all items.
void Clear()
Remove all items from the view.
std::unique_ptr< KIGFX::VIEW_GROUP > m_preview
void Hide(VIEW_ITEM *aItem, bool aHide=true, bool aHideOverlay=false)
Temporarily hide the item in the view (e.g.
Define a library symbol object.
LIB_ITEMS_CONTAINER & GetDrawItems()
Return a reference to the draw item list.
LIB_SYMBOL_SPTR GetRootSymbol() const
Get the parent symbol that does not have another parent.
Describe the page size and margins of a paper page on which to eventually print or plot.
int GetHeightIU(double aIUScale) const
Gets the page height in IU.
int GetWidthIU(double aIUScale) const
Gets the page width in IU.
PROJECT & Prj() const
Return a reference to the project this schematic is part of.
const std::map< wxString, wxString > * GetProperties()
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
void RefreshZoomDependentItems()
Mark selected items for refresh.
Schematic editor (Eeschema) main window.
wxString GetFullScreenDesc() const override
wxString GetScreenDesc() const override
Return a human-readable description of the current screen.
Base class for any item which can be embedded within the SCHEMATIC container class,...
const PAGE_INFO & GetPageSettings() const
EE_RTREE & Items()
Get the full RTree, usually for iterating.
const wxString & GetFileName() const
SCHEMATIC * Schematic() const
const TITLE_BLOCK & GetTitleBlock() const
@ LAYER_SCHEMATIC_DRAWINGSHEET
@ LAYER_SCHEMATIC_PAGE_LIMITS
The Cairo implementation of the graphics abstraction layer.
#define MAX_PAGE_SIZE_EESCHEMA_MILS
#define TO_UTF8(wxstring)
Convert a wxString to a UTF8 encoded C string for all wxWidgets build modes.
constexpr int MilsToIU(int mils) const
WX_VIEW_CONTROLS class definition.