summaryrefslogtreecommitdiff
path: root/experimental/tectonics/drawing.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-01-26 02:32:06 -0600
committersanine <sanine.not@pm.me>2022-01-26 02:32:06 -0600
commit6b687b91e788b4e91a6ed30640a2477b9596b954 (patch)
treebe0ebf99cd8ff3776f59a33b42ef22ab07c71a6c /experimental/tectonics/drawing.h
parent672819693ddf1d203c304697b63f44059cff09b6 (diff)
refactor: move drawing functions into drawing.h/drawing.c
Diffstat (limited to 'experimental/tectonics/drawing.h')
-rw-r--r--experimental/tectonics/drawing.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/experimental/tectonics/drawing.h b/experimental/tectonics/drawing.h
new file mode 100644
index 0000000..e1a1126
--- /dev/null
+++ b/experimental/tectonics/drawing.h
@@ -0,0 +1,10 @@
+#ifndef DRAWING_H
+#define DRAWING_H
+
+#include <cairo.h>
+
+void get_cairo_size(cairo_t *cr, int *width, int *height);
+void draw_quadtree(cairo_t *cr, struct quadtree_node_t *root);
+void draw_world(cairo_t *cr, struct world_t *world);
+
+#endif