52 void Show(
int x, std::ostream& st )
const override {}
60 wxString
GetClass()
const override {
return wxT(
"SNAP_INDICATOR" ); }
A color representation with 4 components: red, green, blue, alpha.
static const COLOR4D WHITE
View item to draw an origin marker with an optional snap type indicator.
void ViewDraw(int aLayer, VIEW *aView) const override
Draw the parts of the object belonging to layer aLayer.
wxString GetClass() const override
Get class name.
SNAP_INDICATOR * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
void SetSnapTypes(int aSnapTypes)
Set a mask of point types that this snap item represents.
SNAP_INDICATOR(const VECTOR2D &aPosition, EDA_ITEM_FLAGS flags)
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
std::uint32_t EDA_ITEM_FLAGS
The Cairo implementation of the graphics abstraction layer.
VECTOR2< double > VECTOR2D