32 #if CAIRO_HAS_PNG_FUNCTIONS 34 cairo_surface_t *img_surf;
38 img_surf = cairo_image_surface_create_from_png(
ca.
file_name);
43 cairo_set_source_surface(
cairo, img_surf, 0, 0);
47 cairo_surface_destroy(img_surf);
50 #if CAIRO_HAS_XLIB_XRENDER_SURFACE void cairo_read_xid(void)
void cairo_read_ppm(void)
void cairo_read_image(void)
GRASS cairo display driver - header file.
void cairo_read_bmp(void)
cairo_surface_t * surface
int G_debug(int, const char *,...) __attribute__((format(printf