48 const wxPoint& aPos,
int aSize,
int aWidth );
72 void Move(
const wxPoint& aMoveVector )
override 77 void Rotate(
const wxPoint& aRotCentre,
double aAngle )
override;
79 void Flip(
const wxPoint& aCentre,
bool aFlipLeftRight )
override;
83 return wxT(
"PCB_TARGET" );
86 bool HitTest(
const wxPoint& aPosition,
int aAccuracy = 0 )
const override;
87 bool HitTest(
const EDA_RECT& aRect,
bool aContained,
int aAccuracy = 0 )
const override;
105 void Show(
int nestLevel, std::ostream& os )
const override { ShowDummy( os ); }
An abstract class from which implementation specific LINE_READERs may be derived to read single lines...
PNG memory record (file in memory).
BITMAP_DEF GetMenuImage() const override
Return a pointer to an image to be used in menus.
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
wxString GetSelectMenuText(EDA_UNITS aUnits) const override
Return the text to display to be used in the selection clarification context menu when multiple items...
The base class for create windows for drawing purpose.
void GetMsgPanelInfo(EDA_DRAW_FRAME *aFrame, std::vector< MSG_PANEL_ITEM > &aList) override
Populate aList of MSG_PANEL_ITEM objects with it's internal state for display purposes.
wxPoint GetPosition() const override
bool HitTest(const wxPoint &aPosition, int aAccuracy=0) const override
Test if aPosition is contained within or on the bounding box of an item.
std::shared_ptr< SHAPE > GetEffectiveShape(PCB_LAYER_ID aLayer) const override
Some pad shapes can be complex (rounded/chamfered rectangle), even without considering custom shapes.
PCB_LAYER_ID
A quick note on layer IDs:
static bool ClassOf(const EDA_ITEM *aItem)
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
virtual void SwapData(BOARD_ITEM *aImage) override
Swap data between aItem and aImage.
void Flip(const wxPoint &aCentre, bool aFlipLeftRight) override
Flip this object, i.e.
wxString GetClass() const override
Return the class name.
void SetPosition(const wxPoint &aPos) override
void SetShape(int aShape)
class PCB_TARGET, a target (graphic item)
void Rotate(const wxPoint &aRotCentre, double aAngle) override
Rotate this object.
void Move(const wxPoint &aMoveVector) override
Move this object.
Handle the component boundary box.
A base class for most all the KiCad significant classes used in schematics and boards.
void SetWidth(int aWidth)
PCB_TARGET(BOARD_ITEM *aParent)
const EDA_RECT GetBoundingBox() const override
Return the orthogonal bounding box of this object for display purposes.
KICAD_T Type() const
Returns the type of object.