Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

xgd.c File Reference


Functions

void wmf_gd_function (wmfAPI *API)
int * wmf_gd_get_image_pixels (wmfAPI *API)
int * wmf_gd_image_pixels (void *gd_image)

Function Documentation

void wmf_gd_function wmfAPI   API
 

int* wmf_gd_get_image_pixels wmfAPI   API
 

If using the wmf_gd_image option to write to a GD image, the true-color pixels (stored in a contiguous array of height * width integers) of the image can be retrieved using wmf_gd_get_image_pixels(). The returned buffer is owned by the API and is released by wmf_api_destroy(); do not free() it.

int* wmf_gd_image_pixels void *    gd_image
 

Deprecated: use wmf_gd_get_image_pixels() instead. When libwmf is built against system libgd this function returns NULL, as the public libgd API exposes no contiguous backing store to borrow.


Generated on Tue Dec 10 19:53:52 2002 for libwmf by doxygen1.2.18