X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=program%2Fsrc%2Frrd_graph.h;h=8d5dc35cae9421998a60eadef125f2760fb6385f;hb=6a0453d19454f2239ef4df77fa2e295b2ad0ec94;hp=22523be540a5f4ffb31feec6630bc24c4624e91b;hpb=7512f760a3ff8289e4f2206f416c23e052b056ef;p=rrdtool-all.git diff --git a/program/src/rrd_graph.h b/program/src/rrd_graph.h index 22523be5..8d5dc35c 100644 --- a/program/src/rrd_graph.h +++ b/program/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(