aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
blob: 117efaa2936b6e7fac29411ae684531789017ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int draw_image(cairo_t *c, char *path, double x, double y);

int draw_month_art(cairo_t *c, struct dimensions *d, char *path);

int resize_image(char *path, double width, double height, bool create_new);

int crop_image(char *path, double width, double height, double x, double y, bool create_new);

unsigned long get_image_width(char *path);

unsigned long get_image_height(char *path);

int prepare_month_art(char *path, struct dimensions *d);