From 675b6f8b177691ca53a4886920736f18d38bd324 Mon Sep 17 00:00:00 2001 From: taw27 Date: Thu, 30 Aug 2007 12:27:32 +0000 Subject: 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 --- src/imagedisplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/imagedisplay.c') 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; } -- cgit v1.2.3