62    wxString 
GetClass()
 const override { 
return wxT( 
"ANCHOR_DEBUG" ); }
 
 
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
 
wxString GetClass() const override
Get class name.
 
std::map< VECTOR2I, size_t > m_anchors
 
ANCHOR_DEBUG * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
 
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
 
void SetNearest(const OPT_VECTOR2I &aNearest)
Set the nearest anchor to the given position.
 
void AddAnchor(const VECTOR2I &aAnchor)
Add an anchor at the given position.
 
void ViewDraw(int aLayer, VIEW *aView) const override
Draw the parts of the object belonging to layer aLayer.
 
std::vector< int > ViewGetLayers() const override
Return the all the layers within the VIEW the object is painted on.
 
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
 
The Cairo implementation of the graphics abstraction layer.
 
std::optional< VECTOR2I > OPT_VECTOR2I
 
VECTOR2< int32_t > VECTOR2I