Functions | |
wmf_error_t | wmf_player_init (wmfAPI *API) |
wmf_error_t | wmf_scan (wmfAPI *API, unsigned long flags, wmfD_Rect *d_r) |
wmf_error_t | wmf_size (wmfAPI *API, float *width, float *height) |
wmf_error_t | wmf_play (wmfAPI *API, unsigned long flags, wmfD_Rect *d_r) |
|
Play the metafile.
The first time (and only the first time) the metafile is played, it first calls device_open() for the device layer specified (and initialized) in wmf_api_create(). Then, and also each subsequent time the metafile is played, it calls device_begin(), plays the metafile (with calls to various other device layer functions), and finally it calls device_end(). device_close() is only ever called via wmf_api_destroy().
|
|
For internal use only. |
|
Scan the metafile.
The bounding box, in device coordinates, is returned in
|
|
Get image size.
*width and image height in *height . If supplied, the metafile header values are used, otherwise the width and height found by wmf_scan() are used.
|