|
| void | close () const |
| | Closes the output file.
|
| |
| | DL_WriterA (const char *fname, DL_Codes::version version=DL_VERSION_2000) |
| |
| void | dxfHex (int gc, int value) const |
| | Writes a hex int variable to the DXF file.
|
| |
| void | dxfInt (int gc, int value) const |
| | Writes an int variable to the DXF file.
|
| |
| void | dxfReal (int gc, double value) const |
| | Writes a real (double) variable to the DXF file.
|
| |
| void | dxfString (int gc, const char *value) const |
| | Writes a string variable to the DXF file.
|
| |
| void | dxfString (int gc, const std::string &value) const |
| | Must be overwritten by the implementing class to write a string to the file.
|
| |
| bool | openFailed () const |
| |
| virtual | ~DL_WriterA () |
| |
| void | color (int col=256) const |
| |
| void | comment (const char *text) const |
| | Comment.
|
| |
| 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.
|
| |
| void | dxfEOF () const |
| | End of the DXF file.
|
| |
| void | entity (const char *entTypeName) const |
| | Entity.
|
| |
| void | entityAttributes (const DL_Attributes &attrib) const |
| | Attributes of an entity.
|
| |
| unsigned long | getNextHandle () const |
| |
| unsigned long | handle (int gc=5) const |
| | Writes a unique handle and returns it.
|
| |
| 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'.
|
| |
| void | sectionBlockEntry (unsigned long int h=0) const |
| | Block (must be in the section BLOCKS).
|
| |
| void | sectionBlockEntryEnd (unsigned long int h=0) const |
| | End of Block (must be in the section BLOCKS).
|
| |
| void | sectionBlocks () const |
| | Section BLOCKS.
|
| |
| void | sectionClasses () const |
| | Section CLASSES.
|
| |
| void | sectionEnd () const |
| | End of a section.
|
| |
| void | sectionEntities () const |
| | Section ENTITIES.
|
| |
| void | sectionHeader () const |
| | Section HEADER.
|
| |
| void | sectionObjects () const |
| | Section OBJECTS.
|
| |
| void | sectionTables () const |
| | Section TABLES.
|
| |
| void | subClass (const char *sub) const |
| | Subclass.
|
| |
| void | table (const char *name, int num, int h=0) const |
| | Generic table for table 'name' with 'num' entries:
|
| |
| void | tableAppid (int num) const |
| | Table for application id.
|
| |
| void | tableAppidEntry (unsigned long int h=0) const |
| | Appid (must be in the TABLES section APPID).
|
| |
| void | tableEnd () const |
| | End of a table.
|
| |
| void | tableLayerEntry (unsigned long int h=0) const |
| | Layer (must be in the TABLES section LAYER).
|
| |
| void | tableLayers (int num) const |
| | Table for layers.
|
| |
| void | tableLinetypeEntry (unsigned long int h=0) const |
| | Line type (must be in the TABLES section LTYPE).
|
| |
| void | tableLinetypes (int num) const |
| | Table for line types.
|
| |
| void | tableStyle (int num) const |
| | Table for text style.
|
| |
| virtual | ~DL_Writer () |
| |
Implements functions defined in DL_Writer for writing low level DXF constructs to an ASCII format DXF file.
@para fname File name of the file to be created. @para version DXF version. Defaults to DL_VERSION_2002.
- Todo
- What if
fname is NULL? Or fname can't be opened for another reason?