104            scaledSize.
y = -scaledSize.
y;
 
 
constexpr void SetMaximum()
 
void SetFlags(EDA_ITEM_FLAGS aMask)
 
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
 
A color representation with 4 components: red, green, blue, alpha.
 
Abstract interface for drawing on a 2D-surface.
 
virtual void SetIsFill(bool aIsFillEnabled)
Enable/disable fill.
 
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.
 
ORIGIN_VIEWITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
 
COLOR4D m_color
(in pixels)
 
void ViewDraw(int aLayer, VIEW *aView) const override
Draw the parts of the object belonging to layer aLayer.
 
ORIGIN_VIEWITEM(const COLOR4D &aColor=COLOR4D(1.0, 1.0, 1.0, 1.0), MARKER_STYLE aStyle=CIRCLE_X, int aSize=16, const VECTOR2D &aPosition=VECTOR2D(0, 0))
 
MARKER_STYLE
Marker symbol styles.
 
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
 
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
 
GAL * GetGAL() const
Return the GAL this view is using to draw graphical primitives.
 
VECTOR2D ToWorld(const VECTOR2D &aCoord, bool aAbsolute=true) const
Converts a screen space point/vector to a point/vector in world space coordinates.
 
std::uint32_t EDA_ITEM_FLAGS
 
a few functions useful in geometry calculations.
 
The Cairo implementation of the graphics abstraction layer.
 
@ NOT_USED
the 3d code uses this value
 
VECTOR2< double > VECTOR2D