25 virtual void Draw(QPainter& drawContext)
const override;
Simple rectangle with integer bounds.
Index implementation for addressing elements in 2D-space.
virtual void Draw(QPainter &drawContext) const override
Draw this shape using draw context.
CInteractiveShapeBase ShapeBaseClass
virtual bool OnMouseButton(istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag) override
It is called, when mouse button is pushed down or up on this object.
virtual i2d::CRect CalcBoundingBox() const override
Calculate bounding box.
virtual bool OnMouseMove(istd::CIndex2d position) override
It is called, when mouse is moved.
In this library is defined 2D view concept and standard visualisation objects.