src/ldObject.cpp

changeset 1008
74cb432812d3
parent 1006
a6b462051ae0
child 1011
4fdd74a04790
equal deleted inserted replaced
1006:a6b462051ae0 1008:74cb432812d3
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;

mercurial