index.html
Main Page
classes.html
Alphabetical List
annotated.html
Data Structures
files.html
File List
functions.html
Data Fields
globals.html
Globals
meta.c File Reference
Data Structures
struct
struct__wmfWriteFileInfo.html
_wmfWriteFileInfo
Typedefs
typedef enum
meta_8c.html#a19
_wmf_write_t
meta_8c.html#a0
wmf_write_t
typedef
struct__wmfWriteFileInfo.html
_wmfWriteFileInfo
meta_8c.html#a1
wmfWriteFileInfo
Enumerations
enum
meta_8c.html#a19
_wmf_write_t
{
meta_8c.html#a19a2
wmf_W_WMF
=  0,
meta_8c.html#a19a3
wmf_W_XML
}
Functions
U16
meta_8c.html#a7
wmf_read_16
(
types_8h.html#a22
wmfAPI
*API)
U32
meta_8c.html#a8
wmf_read_32
(
types_8h.html#a22
wmfAPI
*API, U16 *u16a, U16 *u16b)
U16
meta_8c.html#a9
wmf_aldus_checksum
(
types_8h.html#a22
wmfAPI
*API)
types_8h.html#a5
wmf_error_t
meta_8c.html#a10
wmf_header_read
(
types_8h.html#a22
wmfAPI
*API)
void
meta_8c.html#a11
wmf_write
(
types_8h.html#a22
wmfAPI
*API, unsigned long Size, unsigned int Function, const char *name, char **atts, const unsigned char *buffer, unsigned long length)
void
meta_8c.html#a12
wmf_write_begin
(
types_8h.html#a22
wmfAPI
*API, const char *filename)
void
meta_8c.html#a13
wmf_write_end
(
types_8h.html#a22
wmfAPI
*API)
void
meta_8c.html#a14
wmf_attr_new
(
types_8h.html#a22
wmfAPI
*API,
types_8h.html#a25
wmfAttributes
*list)
void
meta_8c.html#a15
wmf_attr_clear
(
types_8h.html#a22
wmfAPI
*API,
types_8h.html#a25
wmfAttributes
*list)
void
meta_8c.html#a16
wmf_attr_free
(
types_8h.html#a22
wmfAPI
*API,
types_8h.html#a25
wmfAttributes
*list)
const char *
meta_8c.html#a17
wmf_attr_add
(
types_8h.html#a22
wmfAPI
*API,
types_8h.html#a25
wmfAttributes
*list, const char *name, const char *value)
const char *
meta_8c.html#a18
wmf_attr_query
(
types_8h.html#a22
wmfAPI
*API,
types_8h.html#a25
wmfAttributes
*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#a22
wmfAPI
*
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#a27
wmf_scan()
or by calling
meta_8c.html#a10
wmf_header_read()
directly.)
Returns:
Returns the checksum.
const char* wmf_attr_add
(
types_8h.html#a22
wmfAPI
*
,
types_8h.html#a25
wmfAttributes
*
,
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#a22
wmfAPI
*
,
types_8h.html#a25
wmfAttributes
*
)
Clear/Empty a wmfAttributes structure
void wmf_attr_free
(
types_8h.html#a22
wmfAPI
*
,
types_8h.html#a25
wmfAttributes
*
)
Free memory associated with a wmfAttributes structure
void wmf_attr_new
(
types_8h.html#a22
wmfAPI
*
,
types_8h.html#a25
wmfAttributes
*
)
Initialize a wmfAttributes structure
const char* wmf_attr_query
(
types_8h.html#a22
wmfAPI
*
,
types_8h.html#a25
wmfAttributes
*
,
const char *
)
Return value of name in a wmfAttributes structure; returns 0 if name not found
types_8h.html#a5
wmf_error_t
wmf_header_read
(
types_8h.html#a22
wmfAPI
*
API
)
Read the metafile's header.
Parameters:
API
the API handle
(Must read the header first, either via
api_8h.html#a27
wmf_scan()
or by calling
meta_8c.html#a10
wmf_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#a22
wmfAPI
*
)
Reads a two-byte sequence from the current metafile, returns U16
U32 wmf_read_32
(
types_8h.html#a22
wmfAPI
*
,
U16 *
,
U16 *
)
Reads a four-byte sequence from the current metafile, returns U32
void wmf_write
(
types_8h.html#a22
wmfAPI
*
,
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#a22
wmfAPI
*
,
const char *
)
Open --wmf-write file (which may be WMF or home-made wmfxml)
void wmf_write_end
(
types_8h.html#a22
wmfAPI
*
)
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.html
doxygen
1.2.18
