26 #ifndef __VIEW_OVERLAY_H 27 #define __VIEW_OVERLAY_H 65 struct COMMAND_POLYLINE;
66 struct COMMAND_POINT_POLYLINE;
74 virtual void ViewDraw(
int aLayer,
VIEW *aView )
const override;
75 virtual void ViewGetLayers(
int aLayers[],
int& aCount )
const override;
82 void Arc(
const VECTOR2D& aCenterPoint,
double aRadius,
double aStartAngle,
double aEndAngle );
87 void Polygon(
const std::deque<VECTOR2D>& aPointList );
93 double aRotationAngle );
void BitmapText(const wxString &aText, const VECTOR2D &aPosition, double aRotationAngle)
std::vector< COMMAND * > m_commands
The Cairo implementation of the graphics abstraction layer.
void Segment(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint, double aWidth)
void SetFillColor(const COLOR4D &aColor)
virtual void ViewGetLayers(int aLayers[], int &aCount) const override
Return the all the layers within the VIEW the object is painted on.
An abstract base class for deriving all objects that can be added to a VIEW.
void SetIsStroke(bool aIsStrokeEnabled)
void Cross(const VECTOR2D &aP, int aSize)
void Polyline(const SHAPE_LINE_CHAIN &aPolyLine)
void Line(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint)
void Arc(const VECTOR2D &aCenterPoint, double aRadius, double aStartAngle, double aEndAngle)
void Polygon(const std::deque< VECTOR2D > &aPointList)
VIEW_ITEM class definition.
Represent a set of closed polygons.
void SetStrokeColor(const COLOR4D &aColor)
void SetIsFill(bool aIsFillEnabled)
virtual const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
void SetLineWidth(double aLineWidth)
void SetGlyphSize(const VECTOR2D aSize)
void Circle(const VECTOR2D &aCenterPoint, double aRadius)
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
virtual void ViewDraw(int aLayer, VIEW *aView) const override
Draw the parts of the object belonging to layer aLayer.
void Rectangle(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint)
A color representation with 4 components: red, green, blue, alpha.