From 6b687b91e788b4e91a6ed30640a2477b9596b954 Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 26 Jan 2022 02:32:06 -0600 Subject: refactor: move drawing functions into drawing.h/drawing.c --- experimental/tectonics/drawing.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 experimental/tectonics/drawing.h (limited to 'experimental/tectonics/drawing.h') 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 + +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 -- cgit v1.2.1