gfio: allow graph to stretch or shrink as window expands or contracts
[fio.git] / graph.h
diff --git a/graph.h b/graph.h
index 872e60eacdb45821e641eed2ba6092f51e87a777..39dd2b0eb954a90a66ac61fff5023818d9aec93f 100644 (file)
--- a/graph.h
+++ b/graph.h
@@ -6,6 +6,7 @@ struct graph;
 #define INVISIBLE_COLOR (-1.0)
 
 struct graph *graph_new(unsigned int xdim, unsigned int ydim, const char *font);
+void graph_set_size(struct graph *g, unsigned int xdim, unsigned int ydim);
 void bar_graph_draw(struct graph *g, cairo_t *cr);
 void line_graph_draw(struct graph *g, cairo_t *cr);
 void line_graph_set_data_count_limit(struct graph *g, int per_label_limit);