libDXF 0.0.1
A library with DXF related functions written in C.
|
00001 00042 #ifndef LIBDXF_SRC_SEQEND_H 00043 #define LIBDXF_SRC_SEQEND_H 00044 00045 00046 #include "global.h" 00047 #include "binary_graphics_data.h" 00048 00049 00050 #ifdef __cplusplus 00051 extern "C" { 00052 #endif 00053 00054 00058 typedef struct 00059 dxf_seqend_struct 00060 { 00061 /* Members common for all DXF drawable entities. */ 00062 int id_code; 00067 char *linetype; 00071 char *layer; 00075 double elevation; 00081 double thickness; 00085 double linetype_scale; 00089 int16_t visibility; 00097 int color; 00104 int paperspace; 00110 int graphics_data_size; 00119 int16_t shadow_mode; 00129 DxfBinaryGraphicsData *binary_graphics_data; 00135 char *dictionary_owner_soft; 00139 char *material; 00144 char *dictionary_owner_hard; 00148 int16_t lineweight; 00153 char *plot_style_name; 00157 long color_value; 00169 char *color_name; 00177 long transparency; 00185 /* Specific members for a DXF seqend. */ 00186 char *app_name; 00196 } DxfSeqend; 00197 00198 00199 DxfSeqend *dxf_seqend_new (); 00200 DxfSeqend *dxf_seqend_init (DxfSeqend *seqend); 00201 DxfSeqend *dxf_seqend_read (DxfFile *fp, DxfSeqend *seqend); 00202 int dxf_seqend_write (DxfFile *fp, DxfSeqend *seqend); 00203 int dxf_seqend_free (DxfSeqend *seqend); 00204 int dxf_seqend_get_id_code (DxfSeqend *seqend); 00205 DxfSeqend *dxf_seqend_set_id_code (DxfSeqend *seqend, int id_code); 00206 char *dxf_seqend_get_linetype (DxfSeqend *seqend); 00207 DxfSeqend *dxf_seqend_set_linetype (DxfSeqend *seqend, char *linetype); 00208 char *dxf_seqend_get_layer (DxfSeqend *seqend); 00209 DxfSeqend *dxf_seqend_set_layer (DxfSeqend *seqend, char *layer); 00210 double dxf_seqend_get_elevation (DxfSeqend *seqend); 00211 DxfSeqend *dxf_seqend_set_elevation (DxfSeqend *seqend, double elevation); 00212 double dxf_seqend_get_thickness (DxfSeqend *seqend); 00213 DxfSeqend *dxf_seqend_set_thickness (DxfSeqend *seqend, double thickness); 00214 double dxf_seqend_get_linetype_scale (DxfSeqend *seqend); 00215 DxfSeqend *dxf_seqend_set_linetype_scale (DxfSeqend *seqend, double linetype_scale); 00216 int16_t dxf_seqend_get_visibility (DxfSeqend *seqend); 00217 DxfSeqend *dxf_seqend_set_visibility (DxfSeqend *seqend, int16_t visibility); 00218 int dxf_seqend_get_color (DxfSeqend *seqend); 00219 DxfSeqend *dxf_seqend_set_color (DxfSeqend *seqend, int color); 00220 int dxf_seqend_get_paperspace (DxfSeqend *seqend); 00221 DxfSeqend *dxf_seqend_set_paperspace (DxfSeqend *seqend, int paperspace); 00222 int dxf_seqend_get_graphics_data_size (DxfSeqend *seqend); 00223 DxfSeqend *dxf_seqend_set_graphics_data_size (DxfSeqend *seqend, int graphics_data_size); 00224 int16_t dxf_seqend_get_shadow_mode (DxfSeqend *seqend); 00225 DxfSeqend *dxf_seqend_set_shadow_mode (DxfSeqend *seqend, int16_t shadow_mode); 00226 DxfBinaryGraphicsData *dxf_seqend_get_binary_graphics_data (DxfSeqend *seqend); 00227 DxfSeqend *dxf_seqend_set_binary_graphics_data (DxfSeqend *seqend, DxfBinaryGraphicsData *data); 00228 char *dxf_seqend_get_dictionary_owner_soft (DxfSeqend *seqend); 00229 DxfSeqend *dxf_seqend_set_dictionary_owner_soft (DxfSeqend *seqend, char *dictionary_owner_soft); 00230 char *dxf_seqend_get_material (DxfSeqend *seqend); 00231 DxfSeqend *dxf_seqend_set_material (DxfSeqend *seqend, char *material); 00232 char *dxf_seqend_get_dictionary_owner_hard (DxfSeqend *seqend); 00233 DxfSeqend *dxf_seqend_set_dictionary_owner_hard (DxfSeqend *seqend, char *dictionary_owner_hard); 00234 int16_t dxf_seqend_get_lineweight (DxfSeqend *seqend); 00235 DxfSeqend *dxf_seqend_set_lineweight (DxfSeqend *seqend, int16_t lineweight); 00236 char *dxf_seqend_get_plot_style_name (DxfSeqend *seqend); 00237 DxfSeqend *dxf_seqend_set_plot_style_name (DxfSeqend *seqend, char *plot_style_name); 00238 long dxf_seqend_get_color_value (DxfSeqend *seqend); 00239 DxfSeqend *dxf_seqend_set_color_value (DxfSeqend *seqend, long color_value); 00240 char *dxf_seqend_get_color_name (DxfSeqend *seqend); 00241 DxfSeqend *dxf_seqend_set_color_name (DxfSeqend *seqend, char *color_name); 00242 long dxf_seqend_get_transparency (DxfSeqend *seqend); 00243 DxfSeqend *dxf_seqend_set_transparency (DxfSeqend *seqend, long transparency); 00244 char *dxf_seqend_get_app_name (DxfSeqend *seqend); 00245 DxfSeqend *dxf_seqend_set_app_name (DxfSeqend *seqend, char *app_name); 00246 00247 00248 #ifdef __cplusplus 00249 } 00250 #endif 00251 00252 00253 #endif /* LIBDXF_SRC_SEQEND_H */ 00254 00255 00256 /* EOF */