summaryrefslogtreecommitdiff
path: root/third_party/spiro/ppedit/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/spiro/ppedit/image.h')
-rw-r--r--third_party/spiro/ppedit/image.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/spiro/ppedit/image.h b/third_party/spiro/ppedit/image.h
new file mode 100644
index 0000000..a472405
--- /dev/null
+++ b/third_party/spiro/ppedit/image.h
@@ -0,0 +1,11 @@
+typedef struct _image image;
+
+image *
+load_image_file(const char *fn, char **reason);
+
+void
+free_image(image *im);
+
+void
+render_image(image *im, const double affine[6],
+ unsigned char *buf, int rowstride, int x0, int y0, int x1, int y1);