libDXF 0.0.1
A library with DXF related functions written in C.
|
00001 00043 #ifndef LIBDXF_SRC_RASTERVARIABLES_H 00044 #define LIBDXF_SRC_RASTERVARIABLES_H 00045 00046 00047 #include "global.h" 00048 00049 00050 #ifdef __cplusplus 00051 extern "C" { 00052 #endif 00053 00054 00059 typedef struct 00060 dxf_rastervariables_struct 00061 { 00062 /* Members common for all DXF objects. */ 00063 int id_code; 00068 char *dictionary_owner_soft; 00071 char *dictionary_owner_hard; 00074 /* Specific members for a DXF rastervariables. */ 00075 int display_image_frame; 00082 int display_quality; 00089 int units; 00106 int32_t class_version; 00110 struct DxfRasterVariables *next; 00113 } DxfRasterVariables; 00114 00115 00116 DxfRasterVariables *dxf_rastervariables_new (); 00117 DxfRasterVariables *dxf_rastervariables_init (DxfRasterVariables *rastervariables); 00118 DxfRasterVariables *dxf_rastervariables_read (DxfFile *fp, DxfRasterVariables *rastervariables); 00119 int dxf_rastervariables_write (DxfFile *fp, DxfRasterVariables *rastervariables); 00120 int dxf_rastervariables_free (DxfRasterVariables *rastervariables); 00121 void dxf_rastervariables_free_chain (DxfRasterVariables *rastervariables); 00122 int dxf_rastervariables_get_id_code (DxfRasterVariables *rastervariables); 00123 DxfRasterVariables *dxf_rastervariables_set_id_code (DxfRasterVariables *rastervariables, int id_code); 00124 char *dxf_rastervariables_get_dictionary_owner_soft (DxfRasterVariables *rastervariables); 00125 DxfRasterVariables *dxf_rastervariables_set_dictionary_owner_soft (DxfRasterVariables *rastervariables, char *dictionary_owner_soft); 00126 char *dxf_rastervariables_get_dictionary_owner_hard (DxfRasterVariables *rastervariables); 00127 DxfRasterVariables *dxf_rastervariables_set_dictionary_owner_hard (DxfRasterVariables *rastervariables, char *dictionary_owner_hard); 00128 int dxf_rastervariables_get_display_image_frame (DxfRasterVariables *rastervariables); 00129 DxfRasterVariables *dxf_rastervariables_set_display_image_frame (DxfRasterVariables *rastervariables, int display_image_frame); 00130 int dxf_rastervariables_get_display_quality (DxfRasterVariables *rastervariables); 00131 DxfRasterVariables *dxf_rastervariables_set_display_quality (DxfRasterVariables *rastervariables, int display_quality); 00132 int dxf_rastervariables_get_units (DxfRasterVariables *rastervariables); 00133 DxfRasterVariables *dxf_rastervariables_set_units (DxfRasterVariables *rastervariables, int units); 00134 int32_t dxf_rastervariables_get_class_version (DxfRasterVariables *rastervariables); 00135 DxfRasterVariables *dxf_rastervariables_set_class_version (DxfRasterVariables *rastervariables, int32_t class_version); 00136 DxfRasterVariables *dxf_rastervariables_get_next (DxfRasterVariables *rastervariables); 00137 DxfRasterVariables *dxf_rastervariables_set_next (DxfRasterVariables *rastervariables, DxfRasterVariables *next); 00138 DxfRasterVariables *dxf_rastervariables_get_last (DxfRasterVariables *rastervariables); 00139 00140 00141 #ifdef __cplusplus 00142 } 00143 #endif 00144 00145 00146 #endif /* LIBDXF_SRC_RASTERVARIABLES_H */ 00147 00148 00149 /* EOF */