463 |
463 |
464 public: |
464 public: |
465 LDBezierCurve (const Vertex& v0, const Vertex& v1, |
465 LDBezierCurve (const Vertex& v0, const Vertex& v1, |
466 const Vertex& v2, const Vertex& v3, LDDocument* document = nullptr); |
466 const Vertex& v2, const Vertex& v3, LDDocument* document = nullptr); |
467 Vertex pointAt (qreal t) const; |
467 Vertex pointAt (qreal t) const; |
468 LDObjectList rasterize (int segments = 0); |
468 LDObjectList rasterize (int segments); |
469 QVector<LDPolygon> rasterizePolygons (int segments = 0); |
469 QVector<LDPolygon> rasterizePolygons (int segments); |
470 }; |
470 }; |
471 |
471 |
472 // Other common LDraw stuff |
472 // Other common LDraw stuff |
473 static const QString CALicenseText ("!LICENSE Redistributable under CCAL version 2.0 : " |
473 static const QString CALicenseText ("!LICENSE Redistributable under CCAL version 2.0 : " |
474 "see CAreadme.txt"); |
474 "see CAreadme.txt"); |