diff options
author | David Robillard <d@drobilla.net> | 2013-01-14 03:11:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-14 03:11:43 +0000 |
commit | 45931f9e86d6f0734a2fbdf917ff29271cced6b6 (patch) | |
tree | 814445ed0aff8521f18c101eba4c4ba9e3b984bd /src | |
parent | b50166512305839e6e4d21ae164aeccf7014456b (diff) | |
download | ganv-45931f9e86d6f0734a2fbdf917ff29271cced6b6.tar.gz ganv-45931f9e86d6f0734a2fbdf917ff29271cced6b6.tar.bz2 ganv-45931f9e86d6f0734a2fbdf917ff29271cced6b6.zip |
Fix dash of edges.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4978 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/edge.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -335,6 +335,8 @@ ganv_edge_draw(GanvItem* item, if (dash_length > 0.0) { double dashed[2] = { dash_length, dash_length }; cairo_set_dash(cr, dashed, 2, impl->dash_offset); + } else { + cairo_set_dash(cr, &dash_length, 0, 0); } const double join_x = (src_x + dst_x) / 2.0; |