summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9e27e7f)
raw | patch | inline | side by side (parent: 9e27e7f)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 2 Mar 2008 15:38:05 +0000 (15:38 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 2 Mar 2008 15:38:05 +0000 (15:38 +0000) |
src/rrd_graph.c | patch | blob | history |
diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index 501db48da41e5e3d245a35dc205335a77572b930..56f509a635f817a0bdc1a3ad018efffdf732c99d 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
case GF_HRULE:
if (im->gdes[i].yrule >= im->minval
&& im->gdes[i].yrule <= im->maxval)
+ {
cairo_save(im->cr);
if (im->gdes[i].dash) {
cairo_set_dash(im->cr, im->gdes[i].p_dashes,
1.0, im->gdes[i].col);
cairo_stroke(im->cr);
cairo_restore(im->cr);
+ }
break;
case GF_VRULE:
if (im->gdes[i].xrule >= im->start
&& im->gdes[i].xrule <= im->end)
+ {
cairo_save(im->cr);
if (im->gdes[i].dash) {
cairo_set_dash(im->cr, im->gdes[i].p_dashes,
im->yorigin - im->ysize, 1.0, im->gdes[i].col);
cairo_stroke(im->cr);
cairo_restore(im->cr);
+ }
break;
default:
break;