index.htmlMain Page    classes.htmlAlphabetical List    annotated.htmlData Structures    files.htmlFile List    functions.htmlData Fields    globals.htmlGlobals    types.h File Reference
Data Structures
struct  struct__wmfAPI.html_wmfAPI struct  struct__wmfAPI__Options.html_wmfAPI_Options struct  struct__wmfAttributes.html_wmfAttributes struct  struct__wmfAttributeStore.html_wmfAttributeStore struct  struct__wmfD__Coord.html_wmfD_Coord struct  struct__wmfD__Rect.html_wmfD_Rect struct  struct__wmfFontMap.html_wmfFontMap struct  struct__wmfHead.html_wmfHead struct  struct__wmfImage.html_wmfImage struct  struct__wmfMapping.html_wmfMapping struct  struct__wmfMetaHeader.html_wmfMetaHeader struct  struct__wmfPlaceableMetaHeader.html_wmfPlaceableMetaHeader struct  struct__wmfStream.html_wmfStream Defines
#define types_8h.html#a0WMF_ERROR_STATE (Z)   ((( types_8h.html#a22wmfAPI *)(Z))->err) #define types_8h.html#a1WMF_READ (Z)   ((Z)->bbuf.read ((Z)->buffer_data)) #define types_8h.html#a2WMF_SEEK (Z, P)   ((Z)->bbuf.seek ((Z)->buffer_data,P)) #define types_8h.html#a3WMF_TELL (Z)   ((Z)->bbuf.tell ((Z)->buffer_data)) Typedefs
typedef enum types_8h.html#a50_wmf_bool_t  types_8h.html#a4wmf_bool_t typedef enum types_8h.html#a51_wmf_error_t  types_8h.html#a5wmf_error_t typedef enum types_8h.html#a52_wmf_page_t  types_8h.html#a6wmf_page_t typedef enum types_8h.html#a53_wmf_image_t  types_8h.html#a7wmf_image_t typedef int(* types_8h.html#a8wmfRead  )(void *) typedef int(* types_8h.html#a9wmfSeek  )(void *, long) typedef long(* types_8h.html#a10wmfTell  )(void *) typedef int(* types_8h.html#a11wmfSPutS  )(char *, void *) typedef int(* types_8h.html#a12wmfReset  )(void *) typedef int(* types_8h.html#a13wmfStatus  )(void *context, float fraction) typedef struct__wmfD__Coord.html_wmfD_Coord  types_8h.html#a14wmfD_Coord typedef struct__wmfD__Rect.html_wmfD_Rect  types_8h.html#a15wmfD_Rect typedef struct__wmfMapping.html_wmfMapping  types_8h.html#a16wmfMapping typedef struct__wmfFontMap.html_wmfFontMap  types_8h.html#a17wmfFontMap typedef struct__wmfHead.html_wmfHead  types_8h.html#a18wmfHead typedef struct__wmfMetaHeader.html_wmfMetaHeader  wmfMetaHeader * types_8h.html#a19wmfFile typedef struct__wmfPlaceableMetaHeader.html_wmfPlaceableMetaHeader  types_8h.html#a20wmfPlaceableMetaHeader typedef struct__wmfAPI__Options.html_wmfAPI_Options  types_8h.html#a21wmfAPI_Options typedef struct__wmfAPI.html_wmfAPI  types_8h.html#a22wmfAPI typedef struct__wmfStream.html_wmfStream  types_8h.html#a23wmfStream typedef struct__wmfImage.html_wmfImage  types_8h.html#a24wmfImage typedef struct__wmfAttributes.html_wmfAttributes  types_8h.html#a25wmfAttributes typedef struct__wmfAttributeStore.html_wmfAttributeStore  types_8h.html#a26wmfAttributeStore Enumerations
enum  types_8h.html#a50_wmf_bool_t  {   
types_8h.html#a50a27wmf_false  =  0, 
  
types_8h.html#a50a28wmf_true  }
enum  types_8h.html#a51_wmf_error_t  {   
types_8h.html#a51a29wmf_E_None  =  0, 
  
types_8h.html#a51a30wmf_E_InsMem , 
  
types_8h.html#a51a31wmf_E_BadFile , 
  
types_8h.html#a51a32wmf_E_BadFormat , 
  
types_8h.html#a51a33wmf_E_EOF , 
  
types_8h.html#a51a34wmf_E_DeviceError , 
  
types_8h.html#a51a35wmf_E_Glitch , 
  
types_8h.html#a51a36wmf_E_Assert , 
  
types_8h.html#a51a37wmf_E_UserExit  }
enum  types_8h.html#a52_wmf_page_t  {   
types_8h.html#a52a38wmf_P_A5 , 
  
types_8h.html#a52a39wmf_P_A4 , 
  
types_8h.html#a52a40wmf_P_A3 , 
  
types_8h.html#a52a41wmf_P_A2 , 
  
types_8h.html#a52a42wmf_P_A1 , 
  
types_8h.html#a52a43wmf_P_A0 , 
  
types_8h.html#a52a44wmf_P_B5 , 
  
types_8h.html#a52a45wmf_P_Letter , 
  
types_8h.html#a52a46wmf_P_Legal , 
  
types_8h.html#a52a47wmf_P_Ledger , 
  
types_8h.html#a52a48wmf_P_Tabloid  }
enum  types_8h.html#a53_wmf_image_t  { types_8h.html#a53a49wmf_I_gd  }
Define Documentation
  
    
      
        
          
 #define WMF_ERROR_STATE           
(           
Z           
                     
)           
   ((( types_8h.html#a22wmfAPI *)(Z))->err)
      
    
  
  
    
       
    
    
types_8h.html#a0WMF_ERROR_STATE(wmfAPI* API)  -> (wmf_error_t) library error state       
  
    
      
        
          
 #define WMF_READ           
(           
Z           
                     
)           
   ((Z)->bbuf.read ((Z)->buffer_data))
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 #define WMF_SEEK           
(           
Z,                   
          
          
P           
                     
)           
   ((Z)->bbuf.seek ((Z)->buffer_data,P))
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 #define WMF_TELL           
(           
Z           
                     
)           
   ((Z)->bbuf.tell ((Z)->buffer_data))
      
    
  
  
    
       
    
    
    
  
Typedef Documentation
  
    
      
        
          
 typedef enum types_8h.html#a50_wmf_bool_t   wmf_bool_t
      
    
  
  
    
       
    
    
types_8h.html#a4wmf_bool_t  is the (enumeration) type used for boolean       
  
    
      
        
          
 typedef enum types_8h.html#a51_wmf_error_t   wmf_error_t
      
    
  
  
    
       
    
    
types_8h.html#a5wmf_error_t  is the (enumeration) type used for the library error state.       
  
    
      
        
          
 typedef enum types_8h.html#a53_wmf_image_t   wmf_image_t
      
    
  
  
    
       
    
    
types_8h.html#a7wmf_image_t  is the (enumeration) type used to indicate image type.       
  
    
      
        
          
 typedef enum types_8h.html#a52_wmf_page_t   wmf_page_t
      
    
  
  
    
       
    
    
types_8h.html#a6wmf_page_t  is the (enumeration) type used to indicate page size.       
  
    
      
        
          
 typedef struct struct__wmfAPI.html_wmfAPI  wmfAPI
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfAPI__Options.html_wmfAPI_Options  wmfAPI_Options
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfAttributes.html_wmfAttributes  wmfAttributes
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfAttributeStore.html_wmfAttributeStore  wmfAttributeStore
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfD__Coord.html_wmfD_Coord  wmfD_Coord
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfD__Rect.html_wmfD_Rect  wmfD_Rect
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfMetaHeader.html_wmfMetaHeader  wmfMetaHeader* wmfFile
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfFontMap.html_wmfFontMap  wmfFontMap
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfHead.html_wmfHead  wmfHead
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfImage.html_wmfImage  wmfImage
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfMapping.html_wmfMapping  wmfMapping
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfPlaceableMetaHeader.html_wmfPlaceableMetaHeader  wmfPlaceableMetaHeader
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef int(* wmfRead)(void*)
      
    
  
  
    
       
    
    
User redefinable function for input-stream access:
wmfRead: returns unsigned char cast to int, or EOF
See 
api_8h.html#a31wmf_bbuf_input() .       
  
    
      
        
          
 typedef int(* wmfReset)(void*)
      
    
  
  
    
       
    
    
User redefinable function for character-based output-stream:
wmfReset: resets stream to start; returns non-zero on failure
See 
types_8h.html#a23wmfStream .       
  
    
      
        
          
 typedef int(* wmfSeek)(void*,long)
      
    
  
  
    
       
    
    
User redefinable function for input-stream access:
wmfSeek: returns (-1) on error, else 0
See 
api_8h.html#a31wmf_bbuf_input() .       
  
    
      
        
          
 typedef int(* wmfSPutS)(char*,void*)
      
    
  
  
    
       
    
    
User redefinable function for character-based output-stream:
wmfSPutS: returns EOF on error, else 0
See 
types_8h.html#a23wmfStream .       
  
    
      
        
          
 typedef int(* wmfStatus)(void* context,float fraction)
      
    
  
  
    
       
    
    
User definable function indicating progress.
Parameters: context handle for user data 
fraction fraction of metafile parsed so far
Returns: Should return non-zero only if premature exit is required for whatever reason.
See api_8h.html#a70wmf_status_function() .       
  
    
      
        
          
 typedef struct struct__wmfStream.html_wmfStream  wmfStream
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef long(* wmfTell)(void*)
      
    
  
  
    
       
    
    
User redefinable function for input-stream access:
wmfTell: returns (-1) on error, else pos
See 
api_8h.html#a31wmf_bbuf_input() .       
Enumeration Type Documentation
  
    
      
        
          
 enum _wmf_bool_t
      
    
  
  
    
       
    
    
types_8h.html#a4wmf_bool_t  is the (enumeration) type used for boolean Enumeration values: wmf_false False 
wmf_true True 
    
  
  
    
      
        
          
 enum _wmf_error_t
      
    
  
  
    
       
    
    
types_8h.html#a5wmf_error_t  is the (enumeration) type used for the library error state. Enumeration values: wmf_E_None No error. 
wmf_E_InsMem An attempt to allocate memory has failed. 
wmf_E_BadFile Attempt to open an unreadable file, or to read from an unopened file. 
wmf_E_BadFormat The metafile, if indeed it is a metafile, has been corrupted. 
wmf_E_EOF An unexpected end-of-file has been reached. 
wmf_E_DeviceError Device-layer error. 
wmf_E_Glitch Programmer's error. Sorry. 
wmf_E_Assert Internally forced error. 
wmf_E_UserExit The status function has returned non-zero; exit is premature. 
    
  
  
    
      
        
          
 enum _wmf_image_t
      
    
  
  
    
       
    
    
types_8h.html#a7wmf_image_t  is the (enumeration) type used to indicate image type. Enumeration values: wmf_I_gd     
  
  
    
      
        
          
 enum _wmf_page_t
      
    
  
  
    
       
    
    
types_8h.html#a6wmf_page_t  is the (enumeration) type used to indicate page size. Enumeration values: wmf_P_A5 A5 (420 x 595) 
wmf_P_A4 A4 (595 x 842) 
wmf_P_A3 A3 (842 x 1191) 
wmf_P_A2 A2 (1191 x 1684) 
wmf_P_A1 A1 (1684 x 2384) 
wmf_P_A0 A0 (2384 x 3370) 
wmf_P_B5 B5 (516 x 729) 
wmf_P_Letter Letter (612 x 792) 
wmf_P_Legal Legal (612 x 1008) 
wmf_P_Ledger Ledger (1224 x 792) 
wmf_P_Tabloid Tabloid (792 x 1224) 
    
  
Generated on Tue Dec 10 19:53:52 2002 for libwmf by
http://www.doxygen.org/index.htmldoxygen 1.2.18 