--- a/src/linetypes/modelobject.h Wed Jun 20 00:00:26 2018 +0300 +++ b/src/linetypes/modelobject.h Thu Jun 21 17:02:58 2018 +0300 @@ -221,11 +221,17 @@ virtual QString asText() const override; Vertex pointAt (qreal t) const; - void rasterize(Model& model, int segments); - QVector<LDPolygon> rasterizePolygons (int segments); + void rasterize(DocumentManager*context, Winding winding, Model&, bool, bool) override; + QVector<LDPolygon> rasterizePolygons(DocumentManager*, Winding) override; int numVertices() const override { return 4; } LDColor defaultColor() const override { return EdgeColor; } QString iconName() const override { return "beziercurve"; } + void serialize(class Serializer& serializer) override; + int segments() const; + void setSegments(int newSegments); + +private: + int m_segments = 8; }; enum