67 m_subtractive( false ),
68 m_exclusiveOr( false )
114 windowSelection = !windowSelection;
virtual void SetFillColor(const COLOR4D &aColor)
Set the fill color.
virtual void DrawRectangle(const VECTOR2D &aStartPoint, const VECTOR2D &aEndPoint)
Draw a rectangle.
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
GAL * GetGAL() const
Return the #GAL this view is using to draw graphical primitives.
virtual bool IsBackgroundDark() const
PAINTER * GetPainter() const
Return the painter object used by the view for drawing #VIEW_ITEMS.
virtual void SetLineWidth(float aLineWidth)
Set the line width.
static const SELECTION_COLORS selectionColorScheme[2]
virtual void SetIsFill(bool aIsFillEnabled)
Enable/disable fill.
BOX2< Vec > & Normalize()
Function Normalize ensures that the height ant width are positive.
const BOX2I ViewBBox() const override
Set the origin of the rectangle (the fixed corner)
bool IsMirroredX() const
Return true if view is flipped across the X axis.
void SetEnd(coord_type x, coord_type y)
virtual RENDER_SETTINGS * GetSettings()=0
Return a pointer to current settings that are going to be used when drawing items.
virtual void SetStrokeColor(const COLOR4D &aColor)
Set the stroke color.
void SetOrigin(const Vec &pos)
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override final
Draw the parts of the object belonging to layer aLayer.
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
virtual void SetIsStroke(bool aIsStrokeEnabled)
Enable/disable stroked outlines.
Abstract interface for drawing on a 2D-surface.
A color representation with 4 components: red, green, blue, alpha.