|
void | color (int col=256) const |
|
void | comment (const char *text) const |
| Comment. More...
|
|
void | coord (int gc, double x, double y, double z=0) const |
|
void | coordTriplet (int gc, const double *value) const |
|
| DL_Writer (DL_Codes::version version) |
|
virtual void | dxfBool (int gc, bool value) const |
| Can be overwritten by the implementing class to write a bool value to the file. More...
|
|
void | dxfEOF () const |
| End of the DXF file. More...
|
|
virtual void | dxfHex (int gc, int value) const =0 |
| Must be overwritten by the implementing class to write an int value (hex) to the file. More...
|
|
virtual void | dxfInt (int gc, int value) const =0 |
| Must be overwritten by the implementing class to write an int value to the file. More...
|
|
virtual void | dxfReal (int gc, double value) const =0 |
| Must be overwritten by the implementing class to write a real value to the file. More...
|
|
virtual void | dxfString (int gc, const char *value) const =0 |
| Must be overwritten by the implementing class to write a string to the file. More...
|
|
virtual void | dxfString (int gc, const std::string &value) const =0 |
| Must be overwritten by the implementing class to write a string to the file. More...
|
|
void | entity (const char *entTypeName) const |
| Entity. More...
|
|
void | entityAttributes (const DL_Attributes &attrib) const |
| Attributes of an entity. More...
|
|
unsigned long | getNextHandle () const |
|
unsigned long | handle (int gc=5) const |
| Writes a unique handle and returns it. More...
|
|
void | linetype (const char *lt) const |
|
void | linetypeScale (double scale) const |
|
void | lineWeight (int lw) const |
|
void | resetHandle () const |
|
void | section (const char *name) const |
| Generic section for section 'name'. More...
|
|
void | sectionBlockEntry (unsigned long int h=0) const |
| Block (must be in the section BLOCKS). More...
|
|
void | sectionBlockEntryEnd (unsigned long int h=0) const |
| End of Block (must be in the section BLOCKS). More...
|
|
void | sectionBlocks () const |
| Section BLOCKS. More...
|
|
void | sectionClasses () const |
| Section CLASSES. More...
|
|
void | sectionEnd () const |
| End of a section. More...
|
|
void | sectionEntities () const |
| Section ENTITIES. More...
|
|
void | sectionHeader () const |
| Section HEADER. More...
|
|
void | sectionObjects () const |
| Section OBJECTS. More...
|
|
void | sectionTables () const |
| Section TABLES. More...
|
|
void | subClass (const char *sub) const |
| Subclass. More...
|
|
void | table (const char *name, int num, int h=0) const |
| Generic table for table 'name' with 'num' entries: More...
|
|
void | tableAppid (int num) const |
| Table for application id. More...
|
|
void | tableAppidEntry (unsigned long int h=0) const |
| Appid (must be in the TABLES section APPID). More...
|
|
void | tableEnd () const |
| End of a table. More...
|
|
void | tableLayerEntry (unsigned long int h=0) const |
| Layer (must be in the TABLES section LAYER). More...
|
|
void | tableLayers (int num) const |
| Table for layers. More...
|
|
void | tableLinetypeEntry (unsigned long int h=0) const |
| Line type (must be in the TABLES section LTYPE). More...
|
|
void | tableLinetypes (int num) const |
| Table for line types. More...
|
|
void | tableStyle (int num) const |
| Table for text style. More...
|
|
virtual | ~DL_Writer () |
|
Defines interface for writing low level DXF constructs to a file.
Implementation is defined in derived classes that write to binary or ASCII files.
Implements functions that write higher level constructs in terms of the low level ones.
- Todo:
- Add error checking for string/entry length.