| 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_display_size (wmfAPI *API, unsigned int *width, unsigned int *height, double res_x, double res_y) | 
| wmf_error_t | wmf_play (wmfAPI *API, unsigned long flags, wmfD_Rect *d_r) | 
| 
 | ||||||||||||||||||||||||
| Get estimate of image display size. 
 *widthand image height in*height. wmf_size() is used to get the calculated/estimate width and height of the image, and these values are converted to integer width and height estimates for display.
 
 | 
| 
 | ||||||||||||||||
| 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(). 
 
 
 | 
| 
 | 
| Initializes the metafile player (called by wmf_api_create()) | 
| 
 | ||||||||||||||||
| Scan the metafile. 
 
The bounding box, in device coordinates, is returned in  
 
 | 
| 
 | ||||||||||||||||
| Get image size. 
 *widthand image height in*height. If supplied, the metafile header values are used, otherwise the width and height found by wmf_scan() are used.
 
 | 
 1.2.18
1.2.18