27 #ifndef PREVIEW_ITEMS_SELECTION_AREA_H 28 #define PREVIEW_ITEMS_SELECTION_AREA_H 76 return wxT(
"SELECTION_AREA" );
101 #endif // PREVIEW_ITEMS_SELECTION_AREA_H void SetEnd(VECTOR2I aEnd)
Set the current end of the rectangle (the corner that moves with the cursor.
The Cairo implementation of the graphics abstraction layer.
void SetOrigin(VECTOR2I aOrigin)
SIMPLE_OVERLAY_ITEM is class that represents a visual area drawn on a canvas, used to temporarily dem...
void SetExclusiveOr(bool aExclusiveOr)
void SetAdditive(bool aAdditive)
const BOX2I ViewBBox() const override
Set the origin of the rectangle (the fixed corner)
void SetSubtractive(bool aSubtractive)
wxString GetClass() const override
Get class name.
VECTOR2I GetOrigin() const
static const int SelectionLayer
void ViewDraw(int aLayer, KIGFX::VIEW *aView) const override final
Draw the parts of the object belonging to layer aLayer.
Represent a selection area (currently a rectangle) in a VIEW, drawn corner-to-corner between two poin...
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...