27#ifndef PREVIEW_ITEMS_SELECTION_AREA_H
28#define PREVIEW_ITEMS_SELECTION_AREA_H
74 return wxT(
"SELECTION_AREA" );
Represent a selection area (currently a rectangle) in a VIEW, drawn corner-to-corner between two poin...
static const int SelectionLayer
VECTOR2I GetOrigin() const
void SetSubtractive(bool aSubtractive)
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 SetOrigin(const VECTOR2I &aOrigin)
const BOX2I ViewBBox() const override
Set the origin of the rectangle (the fixed corner)
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.
SIMPLE_OVERLAY_ITEM is class that represents a visual area drawn on a canvas, used to temporarily dem...
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
@ LAYER_GP_OVERLAY
general purpose overlay
The Cairo implementation of the graphics abstraction layer.