155 } |
155 } |
156 |
156 |
157 QString LDBezierCurve::asText() const |
157 QString LDBezierCurve::asText() const |
158 { |
158 { |
159 QString result = format ("0 !LDFORGE BEZIER_CURVE %1", color()); |
159 QString result = format ("0 !LDFORGE BEZIER_CURVE %1", color()); |
160 |
160 |
161 // Add the coordinates |
161 // Add the coordinates |
162 for (int i = 0; i < 4; ++i) |
162 for (int i = 0; i < 4; ++i) |
163 result += format (" %1", vertex (i)); |
163 result += format (" %1", vertex (i)); |
164 |
164 |
165 return result; |
165 return result; |