1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00
conky/lua/cairo_imlib2_helper.pkg

12 lines
506 B
Plaintext
Raw Normal View History

$#include <cairo.h>
$#include <libcairo_imlib2_helper.h>
/* Paints the image onto the cairo_surface_t */
void cairo_draw_image(const char *, cairo_surface_t *, int, int,
double scale_x=1.0, double scale_y=1.0,
double * return_scale_w, double * return_scale_h);
/* Places an image onto a cairo_t but doesn't call cairo_paint */
void cairo_place_image(const char *file, cairo_t *cr, int x, int y,
int width, int height, double alpha=1.0);