156 { |
156 { |
157 Model model {m_documents}; |
157 Model model {m_documents}; |
158 obj->rasterize(m_documents, CounterClockwise, model, true, false); |
158 obj->rasterize(m_documents, CounterClockwise, model, true, false); |
159 writeObjects(model.objects(), f); |
159 writeObjects(model.objects(), f); |
160 } |
160 } |
161 else if (obj->type() == LDObjectType::BezierCurve) |
|
162 { |
|
163 LDBezierCurve* curve = static_cast<LDBezierCurve*> (obj); |
|
164 Model model {m_documents}; |
|
165 curve->rasterize(model, grid()->bezierCurveSegments()); |
|
166 writeObjects(model.objects(), f); |
|
167 } |
|
168 else |
161 else |
169 f.write ((obj->asText() + "\r\n").toUtf8()); |
162 f.write ((obj->asText() + "\r\n").toUtf8()); |
170 } |
163 } |
171 } |
164 } |
172 |
165 |