27 bool hitTest(QPointF global_coord, qreal tolerance) const override;
29 bool hitTest(QRectF global_coord_rect) const override;
31 void paint(QPainter *painter) const override;
33 Shape::Type type() const override;
35 const QPainterPath &path() const;
37 void setPath(const QPainterPath &path);
39 bool isFilled() const;
41 void setFilled(
bool filled);
46 void calcBoundingBox() const override;
49 mutable QRectF hit_test_rect_;
Save and load documents as binary format.
Definition: document-serializer.h:18
Definition: path-shape.h:7
NodeType
Definition: path-shape.h:9
A base class for shape objects that contains transform and parent information.
Definition: shape.h:17
shared_ptr< Shape > ShapePtr
Definition: shape.h:137