aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h
new file mode 100644
index 0000000..117efaa
--- /dev/null
+++ b/src/image.h
@@ -0,0 +1,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);