36#define MARKER_SHAPE_POINT_COUNT 9
66 void Flip(
const VECTOR2I& aCentre,
bool aFlipLeftRight )
override;
92 FLASHING aFlash = FLASHING::DEFAULT )
const override;
105 void SetZoom(
double aZoomFactor );
111 void ViewGetLayers(
int aLayers[],
int& aCount )
const override;
116 void Show(
int nestLevel, std::ostream& os )
const override { ShowDummy( os ); }
124 return wxT(
"PCB_MARKER" );
BITMAPS
A list of all bitmap identifiers.
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
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.
virtual bool Matches(const EDA_SEARCH_DATA &aSearchData, void *aAuxData) const
Compare the item against the search criteria in aSearchData.
A color representation with 4 components: red, green, blue, alpha.
bool HitTestMarker(const VECTOR2I &aHitPosition, int aAccuracy) const
Test if the given VECTOR2I is within the bounds of this object.
enum TYPEMARKER GetMarkerType() const
VECTOR2I m_Pos
position of the marker
std::shared_ptr< RC_ITEM > m_rcItem
EDA_MSG_PANEL items for displaying messages.
const KIID GetUUID() const override
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.
wxString Serialize() const
void Flip(const VECTOR2I &aCentre, bool aFlipLeftRight) override
Flip this object, i.e.
std::shared_ptr< SHAPE > GetEffectiveShape(PCB_LAYER_ID aLayer, FLASHING aFlash=FLASHING::DEFAULT) const override
Some pad shapes can be complex (rounded/chamfered rectangle), even without considering custom shapes.
BITMAPS GetMenuImage() const override
Return a pointer to an image to be used in menus.
void Move(const VECTOR2I &aMoveVector) override
Move this object.
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
virtual wxString GetClass() const override
Get class name.
const BOX2I GetBoundingBox() const override
Return the orthogonal bounding box of this object for display purposes.
SEVERITY GetSeverity() const override
static PCB_MARKER * Deserialize(const wxString &data)
VECTOR2I GetCenter() const override
This defaults to the center of the bounding box if not overridden.
GAL_LAYER_ID GetColorLayer() const
VECTOR2I GetPosition() const override
KIGFX::COLOR4D getColor() const override
static bool ClassOf(const EDA_ITEM *aItem)
wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider) const override
Return a user-visible description string of this item.
bool Matches(const EDA_SEARCH_DATA &aSearchData, void *aAuxData) const override
Compare the item against the search criteria in aSearchData.
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
void ViewGetLayers(int aLayers[], int &aCount) const override
Return the all the layers within the VIEW the object is painted on.
bool HitTest(const VECTOR2I &aPosition, int aAccuracy=0) const override
Test if aPosition is inside or on the boundary of this item.
void Rotate(const VECTOR2I &aRotCentre, const EDA_ANGLE &aAngle) override
Rotate this object.
void SetZoom(double aZoomFactor)
void SetPosition(const VECTOR2I &aPos) override
FLASHING
Enum used during connectivity building to ensure we do not query connectivity while building the data...
GAL_LAYER_ID
GAL layers are "virtual" layers, i.e.
PCB_LAYER_ID
A quick note on layer IDs:
@ PCB_MARKER_T
class PCB_MARKER, a marker used to show something