X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=2c9309beef93057ae9d79f5652ba05a752fe4e19;hb=dd86fdf1b4d99437b9aa19934e02230c090cc1d5;hp=22523be540a5f4ffb31feec6630bc24c4624e91b;hpb=2a6a270edfda89b04722b42b57992907f871c671;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 22523be..2c9309b 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -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(