libDXF 0.0.1
A library with DXF related functions written in C.

ucs.h

Go to the documentation of this file.
00001 
00036 #ifndef LIBDXF_SRC_UCS_H
00037 #define LIBDXF_SRC_UCS_H
00038 
00039 
00040 #include "global.h"
00041 
00042 
00043 #ifdef __cplusplus
00044 extern "C" {
00045 #endif
00046 
00047 
00058 typedef struct
00059 dxf_ucs
00060 {
00061         int id_code;
00066         char *UCS_name;
00068         double x_origin;
00071         double y_origin;
00074         double z_origin;
00077         double x_X_dir;
00081         double y_X_dir;
00085         double z_X_dir;
00089         double x_Y_dir;
00093         double y_Y_dir;
00097         double z_Y_dir;
00101         int flag;
00117         char *dictionary_owner_soft;
00121         char *dictionary_owner_hard;
00125         struct DxfUcs *next;
00128 } DxfUcs;
00129 
00130 
00131 DxfUcs *dxf_ucs_new ();
00132 DxfUcs *dxf_ucs_init (DxfUcs *ucs);
00133 DxfUcs *dxf_ucs_read (DxfFile *fp, DxfUcs *ucs);
00134 int dxf_ucs_write (DxfFile *fp, DxfUcs *ucs);
00135 int dxf_ucs_free (DxfUcs *ucs);
00136 void dxf_ucs_free_chain (DxfUcs *ucss);
00137 
00138 
00139 #ifdef __cplusplus
00140 }
00141 #endif
00142 
00143 
00144 #endif /* LIBDXF_SRC_UCS_H */
00145 
00146 
00147 /* EOF */