projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32d4cc6
)
graph: use rounded graph connections
author
Jens Axboe
<axboe@kernel.dk>
Fri, 13 Apr 2012 12:23:17 +0000
(14:23 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 13 Apr 2012 12:23:17 +0000
(14:23 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
graph.c
patch
|
blob
|
blame
|
history
diff --git
a/graph.c
b/graph.c
index 06cfb1ac02bbbd48fd685c99a4d87aac1d963057..7a35736b7ab02a796f935f7dcd931a0feb096e72 100644
(file)
--- a/
graph.c
+++ b/
graph.c
@@
-586,6
+586,8
@@
void line_graph_draw(struct graph *g, cairo_t *cr)
goto skip_data;
cairo_set_line_width(cr, 1.5);
+ cairo_set_line_join(cr, CAIRO_LINE_JOIN_ROUND);
+
flist_for_each(lentry, &g->label_list) {
i = flist_entry(lentry, struct graph_label, list);
first = 1;
@@
-600,9
+602,8
@@
void line_graph_draw(struct graph *g, cairo_t *cr)
if (first) {
cairo_move_to(cr, tx, ty);
first = 0;
- } else
{
+ } else
cairo_line_to(cr, tx, ty);
- }
}
cairo_stroke(cr);
}