53 bool IsType(
const std::vector<KICAD_T>& aScanTypes )
const override
76 void Mirror(
const VECTOR2I& aCentre,
bool aMirrorAroundXAxis )
override;
87 void Flip(
const VECTOR2I& aCentre,
bool aFlipLeftRight )
override;
125 return wxT(
"MGRAPHIC" );
139 void Show(
int nestLevel, std::ostream& os )
const override { ShowDummy( os ); }
BITMAPS
A list of all bitmap identifiers.
The base class for create windows for drawing purpose.
A base class for most all the KiCad significant classes used in schematics and boards.
KICAD_T Type() const
Returns the type of object.
bool IsParentFlipped() const
VECTOR2I GetArcMid0() const
const VECTOR2I & GetBezierC1_0() const
const VECTOR2I & GetEnd0() const
void SetEnd0(const VECTOR2I &aPoint)
VECTOR2I m_start0
Start point or circle center, relative to footprint origin, orient 0.
static bool ClassOf(const EDA_ITEM *aItem)
BITMAPS GetMenuImage() const override
Return a pointer to an image to be used in menus.
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
void SetStart0(const VECTOR2I &aPoint)
void SetBezierC2_0(const VECTOR2I &aPoint)
const VECTOR2I & GetBezierC2_0() const
wxString GetClass() const override
Return the class name.
virtual void SetDrawCoord()
Set draw coordinates (absolute values ) from relative coordinates.
VECTOR2I GetCenter0() const
VECTOR2I m_arcCenter0
Center of arc, relative to footprint origin, orient 0.
void Flip(const VECTOR2I &aCentre, bool aFlipLeftRight) override
Flip entity relative to aCentre.
bool IsType(const std::vector< KICAD_T > &aScanTypes) const override
Check whether the item is one of the listed types.
VECTOR2I m_end0
End point or circle edge, relative to footprint origin, orient 0.
void Mirror(const VECTOR2I &aCentre, bool aMirrorAroundXAxis) override
Mirror horizontally or vertically.
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.
virtual void SetLocalCoord()
Set relative coordinates from draw coordinates.
wxString GetParentAsString() const
void SetArcAngleAndEnd0(const EDA_ANGLE &aAngle, bool aCheckNegativeAngle=false)
Sets the angle for arcs, and normalizes it within the range 0 - 360 degrees.
wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider) const override
Return a user-visible description string of this item.
void Rotate(const VECTOR2I &aRotCentre, const EDA_ANGLE &aAngle) override
Rotate this object.
ARC_MID m_arcMidData_0
Originating Arc data, orient 0.
void SetCenter0(const VECTOR2I &aPt)
const VECTOR2I & GetStart0() const
VECTOR2I m_bezierC2_0
Bezier Control Point 2, relative to footprint origin, orient 0.
double ViewGetLOD(int aLayer, KIGFX::VIEW *aView) const override
Return the level of detail (LOD) of the item.
void SetBezierC1_0(const VECTOR2I &aPoint)
void SetArcGeometry0(const VECTOR2I &aStart, const VECTOR2I &aMid, const VECTOR2I &aEnd)
void Move(const VECTOR2I &aMoveVector) override
Move this object.
VECTOR2I m_bezierC1_0
Bezier Control Point 1, relative to footprint origin, orient 0.
FP_SHAPE(FOOTPRINT *aParent, SHAPE_T aShape=SHAPE_T::SEGMENT, KICAD_T aItemType=PCB_FP_SHAPE_T)
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
An abstract class from which implementation specific LINE_READERs may be derived to read single lines...
EDA_MSG_PANEL items for displaying messages.
bool IsType(const std::vector< KICAD_T > &aScanTypes) const override
Check whether the item is one of the listed types.
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
@ PCB_FP_SHAPE_T
class FP_SHAPE, a footprint edge