54 wxString GetClass()
const override;
71 struct COMMAND_POLYLINE;
72 struct COMMAND_POINT_POLYLINE;
79 virtual const BOX2I ViewBBox()
const override;
80 virtual void ViewDraw(
int aLayer,
VIEW *aView )
const override;
81 virtual std::vector<int> ViewGetLayers()
const override;
85 void Line(
const SEG& aSeg );
86 void Segment(
const VECTOR2D& aStartPoint,
const VECTOR2D& aEndPoint,
double aWidth );
87 void Circle(
const VECTOR2D& aCenterPoint,
double aRadius );
88 void Arc(
const VECTOR2D& aCenterPoint,
double aRadius,
const EDA_ANGLE& aStartAngle,
91 void Cross(
const VECTOR2D& aP,
int aSize );
94 void Polygon(
const std::deque<VECTOR2D>& aPointList );
97 void Polygon(
const VECTOR2D aPointList[],
int aListSize );
99 void BitmapText(
const wxString& aText,
const VECTOR2I& aPosition,
const EDA_ANGLE& aAngle );
102 void SetIsFill(
bool aIsFillEnabled );
103 void SetIsStroke(
bool aIsStrokeEnabled );
104 void SetFillColor(
const COLOR4D& aColor );
105 void SetStrokeColor(
const COLOR4D& aColor );
106 void SetGlyphSize(
const VECTOR2I& aSize );
107 void SetLineWidth(
double aLineWidth );
113 void releaseCommands();
A color representation with 4 components: red, green, blue, alpha.
An abstract base class for deriving all objects that can be added to a VIEW.
VIEW_OVERLAY(const VIEW_OVERLAY &)=delete
std::vector< COMMAND * > m_commands
const COLOR4D & GetFillColor() const
VIEW_OVERLAY & operator=(const VIEW_OVERLAY &)=delete
const COLOR4D & GetStrokeColor() const
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.