mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
18 lines
330 B
C++
18 lines
330 B
C++
#include "DXF.h"
|
|
|
|
// private constructor -- may be created only by DXF class
|
|
DXFObjects::DXFObjects(DXF *d)
|
|
{
|
|
dxf = d;
|
|
}
|
|
|
|
// write tables section to stream
|
|
bool DXFObjects::Write(Stream &s)
|
|
{
|
|
// objects table with placeholder
|
|
s << "0\nSECTION\n2\nOBJECTS\n";
|
|
s << (const char *)dxf_obj;
|
|
s << "0\nENDSEC\n";
|
|
|
|
return true;
|
|
}
|