71 struct COMMAND_POLYLINE;
72 struct COMMAND_POINT_POLYLINE;
80 virtual void ViewDraw(
int aLayer,
VIEW *aView )
const override;
94 void Polygon(
const std::deque<VECTOR2D>& aPointList );
113 void releaseCommands();
A color representation with 4 components: red, green, blue, alpha.
VIEW_ITEM(bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
void SetGlyphSize(const VECTOR2I &aSize)
void SetLineWidth(double aLineWidth)
void Polygon(const std::deque< VECTOR2D > &aPointList)
VIEW_OVERLAY(const VIEW_OVERLAY &)=delete
std::vector< COMMAND * > m_commands
const COLOR4D & GetFillColor() const
void Segment(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint, double aWidth)
void Rectangle(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint)
void Polyline(const SHAPE_LINE_CHAIN &aPolyLine)
VIEW_OVERLAY & operator=(const VIEW_OVERLAY &)=delete
virtual const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
const COLOR4D & GetStrokeColor() const
virtual std::vector< int > ViewGetLayers() const override
Return the all the layers within the VIEW the object is painted on.
void BitmapText(const wxString &aText, const VECTOR2I &aPosition, const EDA_ANGLE &aAngle)
void SetIsFill(bool aIsFillEnabled)
virtual void ViewDraw(int aLayer, VIEW *aView) const override
Draw the parts of the object belonging to layer aLayer.
void SetFillColor(const COLOR4D &aColor)
void Line(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint)
void Circle(const VECTOR2D &aCenterPoint, double aRadius)
void Cross(const VECTOR2D &aP, int aSize)
void Arc(const VECTOR2D &aCenterPoint, double aRadius, const EDA_ANGLE &aStartAngle, const EDA_ANGLE &aEndAngle)
void SetIsStroke(bool aIsStrokeEnabled)
void SetStrokeColor(const COLOR4D &aColor)
wxString GetClass() const override
Return the class name.
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
Represent a set of closed polygons.
The Cairo implementation of the graphics abstraction layer.
VECTOR2< int32_t > VECTOR2I
VECTOR2< double > VECTOR2D