27#ifndef PREVIEW_ITEMS_SELECTION_AREA_H 
   28#define PREVIEW_ITEMS_SELECTION_AREA_H 
   75        return wxT( 
"SELECTION_AREA" );
 
 
 
Abstract interface for drawing on a 2D-surface.
 
SHAPE_LINE_CHAIN m_shape_poly
 
static const int SelectionLayer
 
VECTOR2I GetOrigin() const
 
void SetMode(SELECTION_MODE aMode)
 
void SetSubtractive(bool aSubtractive)
 
SELECTION_MODE GetMode() const
 
void SetAdditive(bool aAdditive)
 
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override final
Draw the parts of the object belonging to layer aLayer.
 
void SetPoly(SHAPE_LINE_CHAIN &aPoly)
 
void SetOrigin(const VECTOR2I &aOrigin)
 
const BOX2I ViewBBox() const override
Set the origin of the rectangle (the fixed corner)
 
SHAPE_LINE_CHAIN & GetPoly()
 
void SetExclusiveOr(bool aExclusiveOr)
 
wxString GetClass() const override
 
void SetEnd(const VECTOR2I &aEnd)
Set the current end of the rectangle (the corner that moves with the cursor.
 
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...
 
@ LAYER_GP_OVERLAY
General purpose overlay.
 
The Cairo implementation of the graphics abstraction layer.
 
VECTOR2< int32_t > VECTOR2I