index.html
Main Page
classes.html
Alphabetical List
annotated.html
Data Structures
files.html
File List
functions.html
Data Fields
globals.html
Globals
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#a0
WMF_ERROR_STATE
(Z)   (((
types_8h.html#a22
wmfAPI
*)(Z))->err)
#define
types_8h.html#a1
WMF_READ
(Z)   ((Z)->bbuf.read ((Z)->buffer_data))
#define
types_8h.html#a2
WMF_SEEK
(Z, P)   ((Z)->bbuf.seek ((Z)->buffer_data,P))
#define
types_8h.html#a3
WMF_TELL
(Z)   ((Z)->bbuf.tell ((Z)->buffer_data))
Typedefs
typedef enum
types_8h.html#a50
_wmf_bool_t
types_8h.html#a4
wmf_bool_t
typedef enum
types_8h.html#a51
_wmf_error_t
types_8h.html#a5
wmf_error_t
typedef enum
types_8h.html#a52
_wmf_page_t
types_8h.html#a6
wmf_page_t
typedef enum
types_8h.html#a53
_wmf_image_t
types_8h.html#a7
wmf_image_t
typedef int(*
types_8h.html#a8
wmfRead
)(void *)
typedef int(*
types_8h.html#a9
wmfSeek
)(void *, long)
typedef long(*
types_8h.html#a10
wmfTell
)(void *)
typedef int(*
types_8h.html#a11
wmfSPutS
)(char *, void *)
typedef int(*
types_8h.html#a12
wmfReset
)(void *)
typedef int(*
types_8h.html#a13
wmfStatus
)(void *context, float fraction)
typedef
struct__wmfD__Coord.html
_wmfD_Coord
types_8h.html#a14
wmfD_Coord
typedef
struct__wmfD__Rect.html
_wmfD_Rect
types_8h.html#a15
wmfD_Rect
typedef
struct__wmfMapping.html
_wmfMapping
types_8h.html#a16
wmfMapping
typedef
struct__wmfFontMap.html
_wmfFontMap
types_8h.html#a17
wmfFontMap
typedef
struct__wmfHead.html
_wmfHead
types_8h.html#a18
wmfHead
typedef
struct__wmfMetaHeader.html
_wmfMetaHeader
wmfMetaHeader *
types_8h.html#a19
wmfFile
typedef
struct__wmfPlaceableMetaHeader.html
_wmfPlaceableMetaHeader
types_8h.html#a20
wmfPlaceableMetaHeader
typedef
struct__wmfAPI__Options.html
_wmfAPI_Options
types_8h.html#a21
wmfAPI_Options
typedef
struct__wmfAPI.html
_wmfAPI
types_8h.html#a22
wmfAPI
typedef
struct__wmfStream.html
_wmfStream
types_8h.html#a23
wmfStream
typedef
struct__wmfImage.html
_wmfImage
types_8h.html#a24
wmfImage
typedef
struct__wmfAttributes.html
_wmfAttributes
types_8h.html#a25
wmfAttributes
typedef
struct__wmfAttributeStore.html
_wmfAttributeStore
types_8h.html#a26
wmfAttributeStore
Enumerations
enum
types_8h.html#a50
_wmf_bool_t
{
types_8h.html#a50a27
wmf_false
=  0,
types_8h.html#a50a28
wmf_true
}
enum
types_8h.html#a51
_wmf_error_t
{
types_8h.html#a51a29
wmf_E_None
=  0,
types_8h.html#a51a30
wmf_E_InsMem
,
types_8h.html#a51a31
wmf_E_BadFile
,
types_8h.html#a51a32
wmf_E_BadFormat
,
types_8h.html#a51a33
wmf_E_EOF
,
types_8h.html#a51a34
wmf_E_DeviceError
,
types_8h.html#a51a35
wmf_E_Glitch
,
types_8h.html#a51a36
wmf_E_Assert
,
types_8h.html#a51a37
wmf_E_UserExit
}
enum
types_8h.html#a52
_wmf_page_t
{
types_8h.html#a52a38
wmf_P_A5
,
types_8h.html#a52a39
wmf_P_A4
,
types_8h.html#a52a40
wmf_P_A3
,
types_8h.html#a52a41
wmf_P_A2
,
types_8h.html#a52a42
wmf_P_A1
,
types_8h.html#a52a43
wmf_P_A0
,
types_8h.html#a52a44
wmf_P_B5
,
types_8h.html#a52a45
wmf_P_Letter
,
types_8h.html#a52a46
wmf_P_Legal
,
types_8h.html#a52a47
wmf_P_Ledger
,
types_8h.html#a52a48
wmf_P_Tabloid
}
enum
types_8h.html#a53
_wmf_image_t
{
types_8h.html#a53a49
wmf_I_gd
}
Define Documentation
#define WMF_ERROR_STATE
(
Z
)
(((
types_8h.html#a22
wmfAPI
*)(Z))->err)
types_8h.html#a0
WMF_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#a4
wmf_bool_t
is the (enumeration) type used for boolean
typedef enum
types_8h.html#a51
_wmf_error_t
wmf_error_t
types_8h.html#a5
wmf_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#a7
wmf_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#a6
wmf_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#a31
wmf_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#a23
wmfStream
.
typedef int(* wmfSeek)(void*,long)
User redefinable function for input-stream access:
wmfSeek: returns (-1) on error, else 0
See
api_8h.html#a31
wmf_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#a23
wmfStream
.
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#a70
wmf_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#a31
wmf_bbuf_input()
.
Enumeration Type Documentation
enum _wmf_bool_t
types_8h.html#a4
wmf_bool_t
is the (enumeration) type used for boolean
Enumeration values:
wmf_false
False
wmf_true
True
enum _wmf_error_t
types_8h.html#a5
wmf_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#a7
wmf_image_t
is the (enumeration) type used to indicate image type.
Enumeration values:
wmf_I_gd
enum _wmf_page_t
types_8h.html#a6
wmf_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.html
doxygen
1.2.18
