26 virtual void DrawCurve(QPainter& drawContext)
const override;
Simple rectangle with integer bounds.
Definition of position or mathematical vector on 2D plane.
Common interface for model objects, that supports Model/Observer design pattern.
Index implementation for addressing elements in 2D-space.
Set of change flags (its IDs).
virtual void DrawCurve(QPainter &drawContext) const override
virtual void DrawPolyBezier(QPainter &drawContext, const i2d::CVector2d *pointsPtr, int pointsCount) const
virtual bool IsCurveTouched(istd::CIndex2d position) const override
virtual i2d::CVector2d GetSegmentMiddle(int index) const override
virtual i2d::CRect CalcBoundingBox() const override
Calculate bounding box.
virtual bool OnModelAttached(imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override
Callback invoked when an observable model is about to be attached to this observer.
In this library is defined 2D view concept and standard visualisation objects.