libDXF 0.0.1
A library with DXF related functions written in C.
|
00001 00054 #ifndef LIBDXF_SRC_ENTITIES_H 00055 #define LIBDXF_SRC_ENTITIES_H 00056 00057 00058 #include "global.h" 00059 00060 00061 #ifdef __cplusplus 00062 extern "C" { 00063 #endif 00064 00065 00069 typedef struct dxf_entities_struct 00070 { 00071 struct Dxf3dface *dface_list; 00072 struct Dxf3dsolid *dsolid_list; 00073 struct DxfAcadProxyEntity *acad_proxy_entity_list; 00074 struct DxfArc *arc_list; 00075 struct DxfAttdef *attdef_list; 00076 struct DxfAttrib *attrib_list; 00077 struct DxfBody *body_list; 00078 struct DxfCircle *circle_list; 00079 struct DxfDimension *dimension_list; 00080 struct DxfEllipse *ellipse_list; 00081 struct DxfHatch *hatch_list; 00082 struct DxfHelix *helix_list; 00083 struct DxfImage *image_list; 00084 struct DxfInsert *insert_list; 00085 struct DxfLeader *leader_list; 00086 //struct DxfLight *light_list; 00087 struct DxfLine *line_list; 00088 struct DxfLWPolyline *lw_polyline_list; 00089 //struct DxfMesh *mesh_list; 00090 struct DxfMline *mline_list; 00091 //struct DxfMleader *mleader_list; 00092 //struct DxfMLeaderStyle *mleaderstyle_list; 00093 struct DxfMtext *mtext_list; 00094 struct DxfOleFrame *oleframe_list; 00095 struct DxfOle2Frame *ole2frame_list; 00096 struct DxfPoint *point_list; 00097 struct DxfPolyline *polyline_list; 00098 struct DxfRay *ray_list; 00099 struct DxfRegion *region_list; 00100 //struct DxfSection *section_list; 00101 struct DxfShape *shape_list; 00102 struct DxfSolid *solid_list; 00103 struct DxfSpline *spline_list; 00104 //struct DxfSun *sun_list; 00105 //struct DxfSurface *surface_list; 00106 struct DxfTable *table_list; 00107 struct DxfText *text_list; 00108 struct DxfTolerance *tolerance_list; 00109 struct DxfTrace *trace_list; 00110 //struct DxfUnderlay *underlay_list; 00111 struct DxfVertex *vertex_list; 00112 struct DxfViewport *viewport_list; 00113 //struct DxfWipeout *wipeout_list; 00114 //struct DxfXline *xline_list; 00115 } DxfEntities; 00116 00117 00118 int 00119 dxf_entities_read_table 00120 ( 00121 char *filename, 00122 FILE *fp, 00123 int line_number, 00124 char *dxf_entities_list, 00125 int acad_version_number 00126 ); 00127 int 00128 dxf_entities_write_table 00129 ( 00130 char *dxf_entities_list, 00131 int acad_version_number 00132 ); 00133 00134 00135 #ifdef __cplusplus 00136 } 00137 #endif 00138 00139 00140 #endif /* LIBDXF_SRC_ENTITIES_H */ 00141 00142 00143 /* EOF */