152        for( 
int ii = 0; ii < aListSize; ii++ )
 
 
 
  278    return wxT( 
"VIEW_OVERLAY" );
 
 
  314        cmd->Execute( aView );
 
 
  339    Line( aStartPoint, aEndPoint );
 
 
constexpr void SetMaximum()
 
A color representation with 4 components: red, green, blue, alpha.
 
Attribute save/restore for GAL attributes.
 
Abstract interface for drawing on a 2D-surface.
 
virtual void DrawPolygon(const std::deque< VECTOR2D > &aPointList)
Draw a polygon.
 
virtual void SetLayerDepth(double aLayerDepth)
Set the depth of the layer (position on the z-axis)
 
virtual void SetIsFill(bool aIsFillEnabled)
Enable/disable fill.
 
virtual void DrawRectangle(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint)
Draw a rectangle.
 
virtual void SetFillColor(const COLOR4D &aColor)
Set the fill color.
 
virtual void DrawCircle(const VECTOR2D &aCenterPoint, double aRadius)
Draw a circle using world coordinates.
 
virtual void SetLineWidth(float aLineWidth)
Set the line width.
 
virtual void SetStrokeColor(const COLOR4D &aColor)
Set the stroke color.
 
virtual void SetIsStroke(bool aIsStrokeEnabled)
Enable/disable stroked outlines.
 
virtual void DrawLine(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint)
Draw a line.
 
void SetGlyphSize(const VECTOR2I aSize)
 
virtual void DrawArc(const VECTOR2D &aCenterPoint, double aRadius, const EDA_ANGLE &aStartAngle, const EDA_ANGLE &aAngle)
Draw an arc.
 
double GetMinDepth() const
 
virtual void BitmapText(const wxString &aText, const VECTOR2I &aPosition, const EDA_ANGLE &aAngle)
Draw a text using a bitmap font.
 
void SetGlyphSize(const VECTOR2I &aSize)
 
void SetLineWidth(double aLineWidth)
 
void Polygon(const std::deque< VECTOR2D > &aPointList)
 
std::vector< COMMAND * > m_commands
 
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)
 
virtual const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
 
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.
 
GAL * GetGAL() const
Return the GAL this view is using to draw graphical primitives.
 
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
 
int SegmentCount() const
Return the number of segments in this line chain.
 
const SEG CSegment(int aIndex) const
Return a constant copy of the aIndex segment in the line chain.
 
Represent a set of closed polygons.
 
@ LAYER_GP_OVERLAY
General purpose overlay.
 
The Cairo implementation of the graphics abstraction layer.
 
COMMAND_ARC(const VECTOR2D &aCenter, double aRadius, const EDA_ANGLE &aStartAngle, const EDA_ANGLE &aEndAngle)
 
virtual void Execute(VIEW *aView) const override
 
virtual void Execute(VIEW *aView) const override
 
COMMAND_BITMAP_TEXT(const wxString &aText, const VECTOR2I &aPosition, const EDA_ANGLE &aAngle)
 
virtual void Execute(VIEW *aView) const override
 
COMMAND_CIRCLE(const VECTOR2D &aCenter, double aRadius)
 
virtual void Execute(VIEW *aView) const override
 
COMMAND_GLYPH_SIZE(const VECTOR2I aSize)
 
COMMAND_LINE(const VECTOR2D &aP0, const VECTOR2D &aP1)
 
virtual void Execute(VIEW *aView) const override
 
std::vector< VECTOR2D > m_pointList
 
virtual void Execute(VIEW *aView) const override
 
COMMAND_POINT_POLYGON(const VECTOR2D aPointList[], int aListSize)
 
std::deque< VECTOR2D > m_pointList
 
virtual void Execute(VIEW *aView) const override
 
COMMAND_POLYGON(const std::deque< VECTOR2D > &aPointList)
 
COMMAND_POLY_POLYGON(const SHAPE_POLY_SET &aPolySet)
 
virtual void Execute(VIEW *aView) const override
 
virtual void Execute(VIEW *aView) const override
 
COMMAND_RECTANGLE(const VECTOR2D &aP0, const VECTOR2D &aP1)
 
virtual void Execute(VIEW *aView) const override
 
COMMAND_SET_COLOR(bool aIsStroke, const COLOR4D &aColor)
 
COMMAND_SET_FILL(bool aIsFill)
 
virtual void Execute(VIEW *aView) const override
 
virtual void Execute(VIEW *aView) const override
 
COMMAND_SET_STROKE(bool aIsStroke)
 
virtual void Execute(VIEW *aView) const override
 
COMMAND_SET_WIDTH(double aWidth)
 
virtual void Execute(VIEW *aView) const =0
 
VECTOR2< int32_t > VECTOR2I
 
VECTOR2< double > VECTOR2D