31#ifndef RATSNEST_VIEW_ITEM_H
32#define RATSNEST_VIEW_ITEM_H
55 void ViewGetLayers(
int aLayers[],
int& aCount )
const override;
64 void Show(
int x, std::ostream& st )
const override { }
69 return wxT(
"RATSNEST_VIEW_ITEM" );
73 std::shared_ptr<CONNECTIVITY_DATA>
m_data;
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...
const BOX2I ViewBBox() const override
std::shared_ptr< CONNECTIVITY_DATA > m_data
Object containing ratsnest data.
void ViewGetLayers(int aLayers[], int &aCount) const override
bool HitTest(const VECTOR2I &aPoint, int aAccuracy=0) const override
Test if aPosition is inside or on the boundary of this item.
virtual wxString GetClass() const override
Return the class name.
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override