mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Bazaar/DXF : fixed linetypes generation and streaming
git-svn-id: svn://ultimatepp.org/upp/trunk@5274 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8c32613163
commit
bc986eac30
1 changed files with 2 additions and 2 deletions
|
|
@ -72,10 +72,10 @@ bool DXFLineType::Write(Stream &s)
|
|||
s << "73\n" << elements.GetCount() << "\n";
|
||||
double patLen = 0;
|
||||
for(int i = 0; i < elements.GetCount(); i++)
|
||||
patLen += elements[i];
|
||||
patLen += fabs(elements[i]);
|
||||
s << "40\n" << patLen << "\n";
|
||||
for(int i = 0; i < elements.GetCount(); i++)
|
||||
s << "49\n" << elements[i] << "\n";
|
||||
s << "49\n" << elements[i] << "\n" << "74\n0\n";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue