switch for rrd_graph to specify the outer-size of the graph and not just the
[rrdtool.git] / src / rrd_graph.h
index 22523be..8d5dc35 100644 (file)
@@ -20,6 +20,8 @@
 #define FORCE_UNITS 0x100   /* mask for all FORCE_UNITS_* flags */
 #define FORCE_UNITS_SI 0x100    /* force use of SI units in Y axis (no effect in linear graph, SI instead of E in log graph) */
 
+#define FULL_SIZE_MODE     0x200   /* -width and -height indicate the total size of the image */
+
 enum tmt_en { TMT_SECOND = 0, TMT_MINUTE, TMT_HOUR, TMT_DAY,
     TMT_WEEK, TMT_MONTH, TMT_YEAR
 };
@@ -276,7 +278,8 @@ int       print_calc(
     image_desc_t *,
     char ***);
 int       leg_place(
-    image_desc_t *);
+    image_desc_t *,
+    int*);
 int       calc_horizontal_grid(
     image_desc_t *);
 int       draw_horizontal_grid(