libDXF 0.0.1
A library with DXF related functions written in C.
|
00001 00035 #ifndef LIBDXF_SRC_VIEW_H 00036 #define LIBDXF_SRC_VIEW_H 00037 00038 00039 #include "global.h" 00040 00041 00042 #ifdef __cplusplus 00043 extern "C" { 00044 #endif 00045 00046 00059 typedef struct 00060 dxf_view 00061 { 00062 int id_code; 00067 char *view_name; 00070 double x_view; 00073 double y_view; 00076 double x_direction; 00080 double y_direction; 00084 double z_direction; 00088 double x_target; 00091 double y_target; 00094 double z_target; 00097 double view_height; 00100 double view_width; 00103 double lens_length; 00106 double front_plane_offset; 00109 double back_plane_offset; 00112 double view_twist_angle; 00115 int flag; 00133 int view_mode; 00136 char *dictionary_owner_soft; 00140 char *dictionary_owner_hard; 00144 struct DxfView *next; 00147 } DxfView; 00148 00149 00150 DxfView *dxf_view_new (); 00151 DxfView *dxf_view_init (DxfView *view); 00152 DxfView *dxf_view_read (DxfFile *fp, DxfView *view); 00153 int dxf_view_write (DxfFile *fp, DxfView *view); 00154 int dxf_view_free (DxfView *view); 00155 void dxf_view_free_chain (DxfView *views); 00156 00157 00158 #ifdef __cplusplus 00159 } 00160 #endif 00161 00162 00163 #endif /* LIBDXF_SRC_VIEW_H */ 00164 00165 00166 /* EOF */