src/linetypes/modelobject.h

changeset 1416
ba63c7286767
parent 1406
37fffb682d2f
child 1423
6608db56b047
--- 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

mercurial