diff options
Diffstat (limited to 'experimental/tectonics/util.c')
-rw-r--r-- | experimental/tectonics/util.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/experimental/tectonics/util.c b/experimental/tectonics/util.c index 0bbe880..aa528fb 100644 --- a/experimental/tectonics/util.c +++ b/experimental/tectonics/util.c @@ -3,14 +3,6 @@ #include "util.h" -void get_cairo_size(cairo_t *cr, int *width, int *height) -{ - cairo_surface_t *surface = cairo_get_target(cr); - *width = cairo_image_surface_get_width(surface); - *height = cairo_image_surface_get_height(surface); -} - - double rand01() { return ((double) rand())/RAND_MAX; |