summaryrefslogtreecommitdiff
path: root/experimental/tectonics/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tectonics/util.h')
-rw-r--r--experimental/tectonics/util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/experimental/tectonics/util.h b/experimental/tectonics/util.h
new file mode 100644
index 0000000..1a5a505
--- /dev/null
+++ b/experimental/tectonics/util.h
@@ -0,0 +1,11 @@
+#ifndef UTIL_H
+#define UTIL_H
+
+#include <cairo.h>
+#include "geometry.h"
+
+void get_cairo_size(cairo_t *cr, int *width, int *height);
+double rand01();
+double distance(struct point_t p1, struct point_t p2);
+
+#endif