diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-08-30 12:27:32 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-08-30 12:27:32 +0000 |
commit | 675b6f8b177691ca53a4886920736f18d38bd324 (patch) | |
tree | 96591699853e6be9522aff6ad117e7d66b2bff2f /src | |
parent | e9a2b408c139a17e431dfb84384edd62a2ead7e3 (diff) |
imagedisplay: draw circles the right way up
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@96 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src')
-rw-r--r-- | src/imagedisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imagedisplay.c b/src/imagedisplay.c index 5fce92f..ae2f4b8 100644 --- a/src/imagedisplay.c +++ b/src/imagedisplay.c @@ -195,8 +195,8 @@ static gboolean imagedisplay_redraw(GtkWidget *drawingarea, GdkEventExpose *even cur = imagedisplay->marks; while ( cur ) { gdk_draw_arc(drawingarea->window, imagedisplay->gc_marks, FALSE, - xoffs + cur->x*scale - 5, - yoffs + cur->y*scale - 5, + xoffs + imagedisplay->view_height-cur->x*scale - 5, + yoffs + imagedisplay->view_height-cur->y*scale - 5, 11, 11, 0, 64*360); cur = cur->next; } |