Pointer to Dwg_Data instance.
Returns the converted DwgDatabase instance.
Extracts thumbnail image form dwg.
Pointer to Dwg_Data instance.
Return thumbnail image data
Frees the whole DWG. all tables, sections, objects, ...
Pointer to Dwg_Data instance.
Converts DwgDatabase instance to svg string.
DwgDatabase instance.
Returns the converted svg string.
Static
createOptional
filepath: stringStatic
createConverts one C++ double array to one JavaScript number array.
Pointer to C++ double array.
The size of C++ double array.
Returns one JavaScript number array from the specified C++ double array.
Converts one C++ hatch definition line array to one JavaScript hatch definition line array.
Pointer to C++ hatch definition line array.
The size of C++ hatch definition line array.
Returns one JavaScript hatch definition line array from the specified C++ hatch definition line array.
Converts one C++ hatch path array to one JavaScript hatch path array.
Pointer to C++ hatch path array.
The size of C++ hatch path array.
Returns one JavaScript hatch path array from the specified C++ hatch path array.
Converts one C++ int16 array to one JavaScript number array.
Pointer to C++ int16 array.
The size of C++ int16 array.
Returns one JavaScript number array from the specified C++ int16 array.
Converts one C++ int32 array to one JavaScript number array.
Pointer to C++ int32 array.
The size of C++ int32 array.
Returns one JavaScript number array from the specified C++ int32 array.
Converts one C++ int64 array to one JavaScript number array.
Pointer to C++ int64 array.
The size of C++ int64 array.
Returns one JavaScript number array from the specified C++ int64 array.
Converts one C++ line type array to one JavaScript line type array.
Pointer to C++ line type array.
The size of C++ line type array.
Returns one JavaScript line type array from the specified C++ line type array.
Converts one C++ mline vertex array to one JavaScript mline vertex array.
Pointer to C++ mline vertex array.
The size of C++ mline vertex array.
Returns one JavaScript mline vertex array from the specified C++ mline vertex array.
Converts one C++ 2d point array to one JavaScript 2d point array.
Pointer to C++ 2d point array.
The size of C++ 2 point array.
Returns one JavaScript 2d point array from the specified C++ 2d point array.
Converts one C++ 3d point array to one JavaScript 3d point array.
Pointer to C++ 3d point array.
The size of C++ 3d point array.
Returns one JavaScript 3d point array from the specified C++ 3d point array.
Converts one C++ 4d point array to one JavaScript 4d point array.
Pointer to C++ 4d point array.
The size of C++ 4d point array.
Returns one JavaScript 4d point array from the specified C++ 4d point array.
Converts one C++ signed char array to one JavaScript number array.
Pointer to C++ signed char array.
The size of C++ signed char array.
Returns one JavaScript number array from the specified C++ signed char array.
Converts one C++ table cell array to one JavaScript table cell array.
Pointer to C++ table cell array.
The size of C++ table cell array.
Returns one JavaScript table cell array from the specified C++ table cell array.
Converts one C++ unsigned int16 array to one JavaScript number array.
Pointer to C++ unsigned int16 array.
The size of C++ unsigned int16 array.
Returns one JavaScript number array from the specified C++ unsigned int16 array.
Converts one C++ unsigned int32 array to one JavaScript number array.
Pointer to C++ unsigned int32 array.
The size of C++ unsigned int32 array.
Returns one JavaScript number array from the specified C++ unsigned int32 array.
Converts one C++ unsigned int64 array to one JavaScript number array.
Pointer to C++ unsigned int64 array.
The size of C++ unsigned int64 array.
Returns one JavaScript number array from the specified C++ unsigned int64 array.
Converts one C++ unsigned char array to one JavaScript number array.
Pointer to C++ unsigned char array.
The size of C++ unsigned char array.
Returns one JavaScript number array from the specified C++ unsigned char array.
Returns block name of one Dwg_Entity_* instance with one block field. For example, dimension entities have one 'block' field which represents the block that contains the entities that make up the dimension picture.
Pointer to one Dwg_Entity_* instance with one block field.
Field name of the block.
Returns block name of one Dwg_Entity_* instance.
Returns dimension style name of one Dwg_Entity_* instance with one dimension style field.
Pointer to one Dwg_Entity_* instance.
Field name of the dimension style.
Returns dimension style name of one Dwg_Entity_* instance.
Returns block entity pointed by the specified block header.
Pointer to one Dwg_Entity_BLOCK_HEADER instance.
Returns block entity pointed by the specified block header.
Returns preview image of the block pointed by the specified block header.
Pointer to one Dwg_Entity_BLOCK_HEADER instance.
Returns preview image of the block pointed by the specified block header.
Returns the first entity owned by the block header or null
Pointer to the block header.
Returns the first entity owned by the block header or null
Returns the next entity owned by the block header or null.
Pointer to the block header.
Pointer to the current entity in the block header.
Returns the next entity owned by the block header or null.
Converts one C++ hatch definition line array to one JavaScript hatch definition line array.
Pointer to C++ hatch definition line array.
The size of C++ hatch definition line array.
Returns one JavaScript hatch definition line array from the specified C++ hatch definition line array.
Converts one C++ hatch path array to one JavaScript hatch path array.
Pointer to C++ hatch path array.
The size of C++ hatch path array.
Returns one JavaScript hatch path array from the specified C++ hatch path array.
Converts one C++ mline vertex array to one JavaScript mline vertex array.
Pointer to C++ mline vertex array.
The size of C++ mline vertex array.
Returns one JavaScript mline vertex array from the specified C++ mline vertex array.
Returns text style name of one Dwg_Entity_MTEXT instance.
Pointer to one Dwg_Entity_MTEXT instance.
Returns text style name of one Dwg_Entity_MTEXT instance.
Returns the number of points in Dwg_Entity_POLYLINE_2D.
Pointer to one Dwg_Object (not Dwg_Entity_POLYLINE_2D) instance.
Returns the number of points in one Dwg_Entity_POLYLINE_2D.
Returns points in Dwg_Entity_POLYLINE_2D.
Pointer to one Dwg_Object (not Dwg_Entity_POLYLINE_2D) instance.
Returns points in one Dwg_Entity_POLYLINE_2D.
Returns vertices in Dwg_Entity_POLYLINE_2D.
Pointer to one Dwg_Object (not Dwg_Entity_POLYLINE_2D) instance.
Returns vertices in one Dwg_Entity_POLYLINE_2D.
Converts one C++ table cell array to one JavaScript table cell array.
Pointer to C++ table cell array.
The size of C++ table cell array.
Returns one JavaScript table cell array from the specified C++ table cell array.
Returns text style name of one Dwg_Entity_TEXT instance.
Pointer to one Dwg_Entity_TEXT instance.
Returns text style name of one Dwg_Entity_TEXT instance.
Frees the object (all three structs and its fields)
Returns the handle of one Dwg_Object instance.
Pointer to one Dwg_Object instance.
Returns the handle of one Dwg_Object instance.
Returns color value of one Dwg_Object_Entity instance.
Pointer to one Dwg_Object_Entity instance.
Returns color value of one Dwg_Object_Entity instance.
Returns the handle of one Dwg_Object_Entity instance.
Pointer to one Dwg_Object_Entity instance.
Returns the handle of one Dwg_Object_Entity instance.
Returns the owner handle of one Dwg_Object_Entity instance.
Pointer to one Dwg_Object_Entity instance.
Returns the owner handle of one Dwg_Object_Entity instance.
Returns the handle of one Dwg_Object_Object instance.
Pointer to one Dwg_Object_Object instance.
Returns the handle of one Dwg_Object_Object instance.
Returns the owner handle of one Dwg_Object_Object instance.
Pointer to one Dwg_Object_Object instance.
Returns the owner handle of one Dwg_Object_Object instance.
The common field value getter. Used to get the value of object or entity common fields.
Pointer to one object or entity
The name of object or entity common fields.
Returns the value of object or entity common fields.
Generic field value getter. Used to get the field value of one object or entity.
Pointer to one object or entity
Field name of one object or entity
Returns the field value of one object or entity.
Header field value getter. Used to get the field value of dwg/dxf header.
Pointer to Dwg_Data instance.
Field name of header.
Returns the field value of dwg/dxf header.
The field of one object or entity may not be primitive type. It means one field may consist of multiple sub-fields. This method is used to get the sub-field value of those complex field.
Pointer to one object or entity.
The class name of the field with complex type.
The field name of one object or entit.
Returns the sub-field value of one complex field.
Returns all of block objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of block objects in Dwg_Data instance.
Returns all of block header objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of block header objects in Dwg_Data instance.
Returns all of dimension style objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of dimension style objects in Dwg_Data instance.
Returns all of entities in the model space. Each item in returned array is one Dwg_Object pointer (Dwg_Object*).
Pointer to Dwg_Data instance.
Returns all of entities in the model space.
Returns all of objects in Dwg_Data instance with the specified type.
Pointer to Dwg_Data instance.
Object type.
Returns all of objects with the specified type.
Returns all of image entities in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of image entities in Dwg_Data instance.
Returns all of image definition objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of image definition objects in Dwg_Data instance.
Returns all of layer objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of layer objects in Dwg_Data instance.
Returns all of layout objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of layout objects in Dwg_Data instance.
Returns all of line type objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of line type objects in Dwg_Data instance.
Returns all of lwpolyline entities in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of lwpolyline entities in Dwg_Data instance.
Returns all of objects in Dwg_Data instance with the specified type.
Pointer to Dwg_Data instance.
Object type.
Returns all of objects with the specified type.
Returns all of 2d polyline entities in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of 2d polyline entities in Dwg_Data instance.
Returns all of 3d polyline entities in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of 3d polyline entities in Dwg_Data instance.
Returns all of text style objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of text style objects in Dwg_Data instance.
Returns all of 2d vertex objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of 2d vertex objects in Dwg_Data instance.
Returns all of 3d vertex objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of 3d vertex objects in Dwg_Data instance.
Returns all of viewport objects in Dwg_Data instance.
Pointer to Dwg_Data instance.
Returns all of viewport objects in Dwg_Data instance.
Returns object (such as line type, layer name, dimension style, and etc.) name by its handle.
Pointer to Dwg_Object_Ref instance.
Returns object name by its handle.
Gets an object by its handle.
Pointer to Dwg_Data instance.
Pointer to Dwg_Object_Ref instance.
Returns the object whose handle is equal to the given handle.
Gets an object given its handle and relative base object.
Pointer to Dwg_Data instance.
Pointer to Dwg_Object_Ref instance.
Pointer to the relative base object (Dwg_Object instance).
Returns the object given its handle and relative base object.
Gets an object by its handle without warning message.
Pointer to Dwg_Data instance.
Pointer to Dwg_Object_Ref instance.
Returns the object whose handle is equal to the given handle.
Resolves handle absref value to Dwg_Object instance.
Pointer to Dwg_Data instance.
Handle absref value.
Returns the object with the given handle absref value.
Resolves handle absref value to Dwg_Object instance without warning message.
Pointer to Dwg_Data instance.
Handle absref value.
Returns the object with the given handle absref value.
Sets ref->absolute_ref from the specified obj for a subsequent dwg_resolve_handle
Pointer to Dwg_Object_Ref instance.
Pointer to Dwg_Object instance.
Returns 1 if set absref value correctly. Otherwise, return 0.
Converts Dwg_Object_* instance to Dwg_Object instance.
Pointer to Dwg_Object_* instance.
Returns one pointer to Dwg_Object instance.
Converts Dwg_Object_Object instance to Dwg_Object instance.
Returns one pointer to Dwg_Object instance.
Converts Dwg_Object instance to Dwg_Object_Entity instance.
Pointer to Dwg_Object instance.
Returns one pointer to Dwg_Object_Entity instance.
Gets Dwg_Entity_* instance (such as Dwg_Entity_LINE, Dwg_Entity_SPLINE, and etc.) from Dwg_Object instance.
Pointer to Dwg_Object instance.
Returns one pointer to Dwg_Object_Object_TIO_Ptr instance.
Converts Dwg_Object instance to Dwg_Object_Object instance.
Pointer to Dwg_Object instance.
Returns one pointer to Dwg_Object_Object instance.
Gets Dwg_Object_* instance (such as Dwg_Entity_LAYER, Dwg_Entity_STYLE, and etc.) from Dwg_Object instance.
Pointer to Dwg_Object instance.
Returns one pointer to Dwg_Object_Object_TIO_Ptr instance.
Converts Dwg_Data instance to DwgDatabase instance. DwgDatabase instance doesn't depend on Dwg_Data instance any more after conversion. So you can call function dwg_free to free memory occupied by Dwg_Data.