49 return wxT(
"LIB_BEZIER" );
60 void Offset(
const wxPoint& aOffset )
override;
70 bool HitTest(
const wxPoint& aPosition,
int aAccuracy = 0 )
const override;
71 bool HitTest(
const EDA_RECT& aRect,
bool aContained,
int aAccuracy = 0 )
const override;
75 void MoveTo(
const wxPoint& aPosition )
override;
81 void Rotate(
const wxPoint& aCenter,
bool aRotateCCW =
true )
override;
83 void Plot(
PLOTTER* aPlotter,
const wxPoint& aOffset,
bool aFill,
107 void* aData,
const TRANSFORM& aTransform )
override;
111 #endif // LIB_BEZIER_H
void MoveTo(const wxPoint &aPosition) override
Move a draw object to aPosition.
const wxPoint GetOffset() const
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
LIB_BEZIER(LIB_PART *aParent)
std::vector< wxPoint > m_BezierPoints
const EDA_RECT GetBoundingBox() const override
Return the orthogonal bounding box of this object for display purposes.
bool HitTest(const wxPoint &aPosition, int aAccuracy=0) const override
Test if aPosition is contained within or on the bounding box of an item.
void Plot(PLOTTER *aPlotter, const wxPoint &aOffset, bool aFill, const TRANSFORM &aTransform) override
Plot the draw item using the plot object.
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
The base class for drawable items used by schematic library components.
int GetWidth() const override
void Reserve(size_t aCount)
unsigned GetCornerCount() const
void Offset(const wxPoint &aOffset) override
Set the drawing object by aOffset from the current position.
void print(const RENDER_SETTINGS *aSettings, const wxPoint &aOffset, void *aData, const TRANSFORM &aTransform) override
Print the item to aDC.
void MirrorHorizontal(const wxPoint &aCenter) override
Mirror the draw object along the horizontal (X) axis about aCenter point.
void Rotate(const wxPoint &aCenter, bool aRotateCCW=true) override
Rotate the object about aCenter point.
COMPARE_FLAGS
The list of flags used by the compare function.
wxString GetClass() const override
Return the class name.
std::vector< wxPoint > m_PolyPoints
int compare(const LIB_ITEM &aOther, LIB_ITEM::COMPARE_FLAGS aCompareFlags=LIB_ITEM::COMPARE_FLAGS::NORMAL) const override
Provide the draw object specific comparison called by the == and < operators.
Define a library symbol object.
wxString GetTypeName() const override
Provide a user-consumable name of the object type.
const std::vector< wxPoint > & GetPoints() const
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
Base plotter engine class.
Handle the component boundary box.
void MirrorVertical(const wxPoint &aCenter) override
Mirror the draw object along the MirrorVertical (Y) axis about aCenter point.
A base class for most all the KiCad significant classes used in schematics and boards.
void SetWidth(int aWidth) override
void AddPoint(const wxPoint &aPoint)
int GetPenWidth() const override
Define a bezier curve graphic body item.