62 MARKER_BASE(
int aScalingFactor, std::shared_ptr<RC_ITEM> aItem,
99 void SetExcluded(
bool aExcluded,
const wxString& aComment = wxEmptyString )
A color representation with 4 components: red, green, blue, alpha.
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
void PrintMarker(const RENDER_SETTINGS *aSettings, const VECTOR2I &aOffset)
Print the shape is the polygon defined in m_Corners (array of VECTOR2Is).
virtual SEVERITY GetSeverity() const
bool HitTestMarker(const VECTOR2I &aHitPosition, int aAccuracy) const
Test if the given VECTOR2I is within the bounds of this object.
virtual KIGFX::COLOR4D getColor() const =0
std::shared_ptr< RC_ITEM > GetRCItem() const
int MarkerScale() const
The scaling factor to convert polygonal shape coordinates to internal units.
const VECTOR2I & GetPos() const
VECTOR2I m_Pos
position of the marker
void SetExcluded(bool aExcluded, const wxString &aComment=wxEmptyString)
virtual const KIID GetUUID() const =0
void SetMarkerScale(int aScale)
void SetMarkerType(enum MARKER_T aMarkerType)
Accessors to set/get marker type (DRC, ERC, or other)
std::shared_ptr< RC_ITEM > m_rcItem
enum MARKER_T GetMarkerType() const
void ShapeToPolygon(SHAPE_LINE_CHAIN &aPolygon, int aScale=-1) const
Return the shape polygon in internal units in a SHAPE_LINE_CHAIN the coordinates are relatives to the...
wxString GetComment() const
BOX2I GetBoundingBoxMarker() const
Return the orthogonal, bounding box of this object for display purposes.
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
The Cairo implementation of the graphics abstraction layer.