index.htmlMain Page    classes.htmlAlphabetical List    annotated.htmlData Structures    files.htmlFile List    functions.htmlData Fields    globals.htmlGlobals    meta.c File Reference
Data Structures
struct  struct__wmfWriteFileInfo.html_wmfWriteFileInfo Typedefs
typedef enum meta_8c.html#a19_wmf_write_t  meta_8c.html#a0wmf_write_t typedef struct__wmfWriteFileInfo.html_wmfWriteFileInfo  meta_8c.html#a1wmfWriteFileInfo Enumerations
enum  meta_8c.html#a19_wmf_write_t  {   
meta_8c.html#a19a2wmf_W_WMF  =  0, 
  
meta_8c.html#a19a3wmf_W_XML  }
Functions
U16 meta_8c.html#a7wmf_read_16  ( types_8h.html#a22wmfAPI  *API) U32 meta_8c.html#a8wmf_read_32  ( types_8h.html#a22wmfAPI  *API, U16 *u16a, U16 *u16b) U16 meta_8c.html#a9wmf_aldus_checksum  ( types_8h.html#a22wmfAPI  *API) types_8h.html#a5wmf_error_t  meta_8c.html#a10wmf_header_read  ( types_8h.html#a22wmfAPI  *API) void meta_8c.html#a11wmf_write  ( types_8h.html#a22wmfAPI  *API, unsigned long Size, unsigned int Function, const char *name, char **atts, const unsigned char *buffer, unsigned long length) void meta_8c.html#a12wmf_write_begin  ( types_8h.html#a22wmfAPI  *API, const char *filename) void meta_8c.html#a13wmf_write_end  ( types_8h.html#a22wmfAPI  *API) void meta_8c.html#a14wmf_attr_new  ( types_8h.html#a22wmfAPI  *API, types_8h.html#a25wmfAttributes  *list) void meta_8c.html#a15wmf_attr_clear  ( types_8h.html#a22wmfAPI  *API, types_8h.html#a25wmfAttributes  *list) void meta_8c.html#a16wmf_attr_free  ( types_8h.html#a22wmfAPI  *API, types_8h.html#a25wmfAttributes  *list) const char * meta_8c.html#a17wmf_attr_add  ( types_8h.html#a22wmfAPI  *API, types_8h.html#a25wmfAttributes  *list, const char *name, const char *value) const char * meta_8c.html#a18wmf_attr_query  ( types_8h.html#a22wmfAPI  *API, types_8h.html#a25wmfAttributes  *list, const char *name) Typedef Documentation
  
    
      
        
          
 typedef enum meta_8c.html#a19_wmf_write_t   wmf_write_t
      
    
  
  
    
       
    
    
    
  
  
    
      
        
          
 typedef struct struct__wmfWriteFileInfo.html_wmfWriteFileInfo  wmfWriteFileInfo
      
    
  
  
    
       
    
    
    
  
Enumeration Type Documentation
  
    
      
        
          
 enum _wmf_write_t
      
    
  
  
    
       
    
    
Enumeration values: wmf_W_WMF wmf_W_XML     
  
Function Documentation
  
    
      
        
          
 U16 wmf_aldus_checksum           
(           
types_8h.html#a22wmfAPI  *           
  API                    
)           
        
      
    
  
  
    
       
    
    
Compute the Aldus checksum of the metafile's header.
Parameters: API the API handle
(Must read the header first, either via api_8h.html#a27wmf_scan()  or by calling meta_8c.html#a10wmf_header_read()  directly.)
Returns: Returns the checksum. 
      
  
    
      
        
          
 const char* wmf_attr_add           
(           
types_8h.html#a22wmfAPI  *           
 ,         
        
          
          
          
types_8h.html#a25wmfAttributes  *           
 ,         
        
          
          
          
const char *           
 ,         
        
          
          
          
const char *           
         
        
          
          
)           
        
      
    
  
  
    
       
    
    
Add an name&value to a wmfAttributes structure; returns ptr to value-in-list     
  
  
    
      
        
          
 void wmf_attr_clear           
(           
types_8h.html#a22wmfAPI  *           
 ,         
        
          
          
          
types_8h.html#a25wmfAttributes  *           
         
        
          
          
)           
        
      
    
  
  
    
       
    
    
Clear/Empty a wmfAttributes structure     
  
  
    
      
        
          
 void wmf_attr_free           
(           
types_8h.html#a22wmfAPI  *           
 ,         
        
          
          
          
types_8h.html#a25wmfAttributes  *           
         
        
          
          
)           
        
      
    
  
  
    
       
    
    
Free memory associated with a wmfAttributes structure     
  
  
    
      
        
          
 void wmf_attr_new           
(           
types_8h.html#a22wmfAPI  *           
 ,         
        
          
          
          
types_8h.html#a25wmfAttributes  *           
         
        
          
          
)           
        
      
    
  
  
    
       
    
    
Initialize a wmfAttributes structure     
  
  
    
      
        
          
 const char* wmf_attr_query           
(           
types_8h.html#a22wmfAPI  *           
 ,         
        
          
          
          
types_8h.html#a25wmfAttributes  *           
 ,         
        
          
          
          
const char *           
         
        
          
          
)           
        
      
    
  
  
    
       
    
    
Return value of name in a wmfAttributes structure; returns 0 if name not found     
  
  
    
      
        
          
 types_8h.html#a5wmf_error_t  wmf_header_read           
(           
types_8h.html#a22wmfAPI  *           
  API                    
)           
        
      
    
  
  
    
       
    
    
Read the metafile's header.
Parameters: API the API handle
(Must read the header first, either via api_8h.html#a27wmf_scan()  or by calling meta_8c.html#a10wmf_header_read()  directly.)
Returns: Returns the library error state (
wmf_E_None on success). Possible library error states of wmf_E_Glitch, wmf_E_BadFormat (bad header), wmf_E_BadFile (no open input stream) and wmf_E_EOF (premature end-of-file).       
  
    
      
        
          
 U16 wmf_read_16           
(           
types_8h.html#a22wmfAPI  *           
                     
)           
        
      
    
  
  
    
       
    
    
Reads a two-byte sequence from the current metafile, returns U16     
  
  
    
      
        
          
 U32 wmf_read_32           
(           
types_8h.html#a22wmfAPI  *           
 ,         
        
          
          
          
U16 *           
 ,         
        
          
          
          
U16 *           
         
        
          
          
)           
        
      
    
  
  
    
       
    
    
Reads a four-byte sequence from the current metafile, returns U32     
  
  
    
      
        
          
 void wmf_write           
(           
types_8h.html#a22wmfAPI  *           
 ,         
        
          
          
          
unsigned           
  long,         
        
          
          
          
unsigned           
  int,         
        
          
          
          
const char *           
 ,         
        
          
          
          
char **           
 ,         
        
          
          
          
const unsigned char *           
 ,         
        
          
          
          
unsigned           
  long         
        
          
          
)           
        
      
    
  
  
    
       
    
    
Writes to --wmf-write file (which may be WMF or home-made wmfxml)     
  
  
    
      
        
          
 void wmf_write_begin           
(           
types_8h.html#a22wmfAPI  *           
 ,         
        
          
          
          
const char *           
         
        
          
          
)           
        
      
    
  
  
    
       
    
    
Open --wmf-write file (which may be WMF or home-made wmfxml)     
  
  
    
      
        
          
 void wmf_write_end           
(           
types_8h.html#a22wmfAPI  *           
                     
)           
        
      
    
  
  
    
       
    
    
Close --wmf-write file (which may be WMF or home-made wmfxml)     
  
Generated on Tue Dec 10 19:53:50 2002 for libwmf by
http://www.doxygen.org/index.htmldoxygen 1.2.18 