]> git.cworth.org Git - acre/blobdiff - acre.h
Fix pixel snapping for minor ticks
[acre] / acre.h
diff --git a/acre.h b/acre.h
index 0a39df9426e555410788dae41a7672d9c66c7103..0c602c18547cfe919234a81d45b1b2f7a739937d 100644 (file)
--- a/acre.h
+++ b/acre.h
@@ -20,7 +20,7 @@
 #ifndef ACRE_H
 #define ACRE_H
 
-#include <cairo.h>
+#include <pango/pangocairo.h>
 
 typedef struct _acre acre_t;
 typedef struct _acre_data acre_data_t;
@@ -53,7 +53,7 @@ acre_add_data (acre_t *acre, acre_data_t *data);
  * etc.)
  */
 void
-acre_draw (acre_t *acre, cairo_t *cr, double width, double height);
+acre_draw (acre_t *acre, cairo_t *cr, int width, int height);
 
 /* Create a new dataset---a collection of (x, y) datapoints. A single
  * plot can contain multiple datasets, (see acre_add_data). */