summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 29e845a)
raw | patch | inline | side by side (parent: 29e845a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 5 Jun 2008 19:58:51 +0000 (19:58 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 5 Jun 2008 19:58:51 +0000 (19:58 +0000) |
doc/rrdgraph.pod | patch | blob | history | |
src/rrd_graph.h | patch | blob | history |
diff --git a/doc/rrdgraph.pod b/doc/rrdgraph.pod
index 54fd5b0cbae83ada1ff137f7b4a9ca90c6e20418..159d6afffaace602709c5b0a6fdfa691198f5cfa 100644 (file)
--- a/doc/rrdgraph.pod
+++ b/doc/rrdgraph.pod
bitmapped, that is, without any font smoothing. By default,
no text is rendered bitmapped.
+[B<-P>|B<--pango-markup>]
+
+All text in rrdtool is rendered using Pango. With the B<--pango-markup> option, all
+text will be processed by pango markup. This allows to embed some simple html
+like markup tags using
+
+ <span key="value">text</span>
+
+Apart from the verbose syntax, there are also the following short tags available.
+
+ b Bold
+ big Makes font relatively larger, equivalent to <span size="larger">
+ i Italic
+ s Strikethrough
+ sub Subscript
+ sup Superscript
+ small Makes font relatively smaller, equivalent to <span size="smaller">
+ tt Monospace font
+ u Underline
+
+More details on L<http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html>.
+
[B<-G>|B<--graph-render-mode> {B<normal>,B<mono>}]
There are 2 render modes:
at least one print statement to generate a report.
See L<rrdgraph_graph> for the exact format.
-=item Markup
-
-All text in rrdtool is rendered using Pango markup. This means text can contain embeded markup instructions.
-Simple html markup using
-
- <span key="value">text</span>
-
-can be used. Apart from the verbose syntax, there are also the following short tags available.
-
- b Bold
- big Makes font relatively larger, equivalent to <span size="larger">
- i Italic
- s Strikethrough
- sub Subscript
- sup Superscript
- small Makes font relatively smaller, equivalent to <span size="smaller">
- tt Monospace font
- u Underline
-
-More details on http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html.
=back
diff --git a/src/rrd_graph.h b/src/rrd_graph.h
index 7e85cd635935d990b17fa3aeb52ab7b0e7832af8..0642d4199212d7133610d4f6053d994736a64617 100644 (file)
--- a/src/rrd_graph.h
+++ b/src/rrd_graph.h
double force_scale_max; /* Force a scale--max */
/* status information */
-
+ int with_markup;
long xorigin, yorigin; /* where is (0,0) of the graph */
long ximg, yimg; /* total size of the image */
size_t rendered_image_size;