cairo: Add forgotten WINGs/wimage.c
[wmaker-crm.git] / WINGs / wimage.c
blob52206b7b39705a8fd976d987fab1d8e63c7f806c
1 #include <WINGsP.h>
3 WMImage *WMRetainImage(WMImage *image)
5 return cairo_surface_reference(image);
8 void WMDestroyImage(WMImage *image)
10 cairo_surface_destroy(image);
14 unsigned int WMGetImageWidth(WMImage *image)
16 return cairo_image_surface_get_width(image);
19 unsigned int WMGetImageHeight(WMImage *image)
21 return cairo_image_surface_get_height(image);