X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=8b86e864667e67f3897625742ceb84cf45aed9e6;hb=f090c6d208157d252bf806fea2107b9e318424d4;hp=2b1c05be921676622129bf4e400f919a8a1c2502;hpb=8380c6e953a15347b40f2c5c4cc57c2daa8b8c63;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 2b1c05b..8b86e86 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -61,11 +61,13 @@ enum vdef_op_en { , VDEF_LSLINT /* least squares line y_intercept */ , VDEF_LSLCORREL /* least squares line correlation coefficient */ }; -enum text_prop_en { TEXT_PROP_DEFAULT = 0, /* default settings */ +enum text_prop_en { + TEXT_PROP_DEFAULT = 0, /* default settings */ TEXT_PROP_TITLE, /* properties for the title */ TEXT_PROP_AXIS, /* for the numbers next to the axis */ TEXT_PROP_UNIT, /* for the vertical unit description */ - TEXT_PROP_LEGEND, /* fot the legend below the graph */ + TEXT_PROP_LEGEND, /* for the legend below the graph */ + TEXT_PROP_WATERMARK, /* for the little text to the side of the graph */ TEXT_PROP_LAST }; @@ -87,6 +89,7 @@ typedef struct gfx_color_t { typedef struct text_prop_t { double size; char font[1024]; + PangoFontDescription *font_desc; } text_prop_t; @@ -210,6 +213,7 @@ typedef struct image_desc_t { char *imginfo; /* construct an