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

thumbnail.h

Go to the documentation of this file.
00001 
00038 #ifndef LIBDXF_SRC_THUMBNAIL_H
00039 #define LIBDXF_SRC_THUMBNAIL_H
00040 
00041 
00042 #include "global.h"
00043 
00044 
00045 #ifdef __cplusplus
00046 extern "C" {
00047 #endif
00048 
00049 
00072 typedef struct
00073 dxf_thumbnail
00074 {
00075         int number_of_bytes;
00079         char *preview_image_data[DXF_MAX_PARAM];
00082 } DxfThumbnail;
00083 
00084 
00085 DxfThumbnail *dxf_thumbnail_new ();
00086 DxfThumbnail *dxf_thumbnail_init (DxfThumbnail *thumbnail);
00087 DxfThumbnail *dxf_thumbnail_read (DxfFile *fp, DxfThumbnail *thumbnail);
00088 int dxf_thumbnail_write (DxfFile *fp, DxfThumbnail *thumbnail);
00089 int dxf_thumbnail_free (DxfThumbnail *thumbnail);
00090 
00091 
00092 #ifdef __cplusplus
00093 }
00094 #endif
00095 
00096 
00097 #endif /* LIBDXF_SRC_THUMBNAIL_H */
00098 
00099 
00100 /* EOF */