summaryrefslogtreecommitdiffstats
path: root/src/circle.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-14 05:29:47 +0000
committerDavid Robillard <d@drobilla.net>2011-12-14 05:29:47 +0000
commit3680d163650c1d79869952520aba2eae281da95e (patch)
treebd372ecf5b1c954e6bffd6c9415c641983d106e2 /src/circle.c
parenta70ec768ee9a3a5783f2c07feb77e67ced78a802 (diff)
downloadganv-3680d163650c1d79869952520aba2eae281da95e.tar.gz
ganv-3680d163650c1d79869952520aba2eae281da95e.tar.bz2
ganv-3680d163650c1d79869952520aba2eae281da95e.zip
Draw directly to window cairo context instead of gdk pixmap.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3875 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/circle.c')
-rw-r--r--src/circle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/circle.c b/src/circle.c
index cd4f09d..6010dc2 100644
--- a/src/circle.c
+++ b/src/circle.c
@@ -263,8 +263,8 @@ ganv_circle_draw(GanvItem* item,
&circle->node, &dash_length, &border_color, &fill_color);
cairo_arc(cr,
- cx - x,
- cy - y,
+ cx,
+ cy,
impl->coords.radius,
0, 2 * G_PI);