From: erg Date: Fri, 16 Mar 2007 20:40:11 +0000 (+0000) Subject: Fix incorrect circle sizing reported in bug 1096. X-Git-Tag: LAST_LIBGRAPH~32^2~5621 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fadf9f60556df4f47aa21c52ade8eb509abf0152;p=graphviz Fix incorrect circle sizing reported in bug 1096. --- diff --git a/plugin/core/gvrender_core_map.c b/plugin/core/gvrender_core_map.c index 5e04743d7..3653d9f3e 100644 --- a/plugin/core/gvrender_core_map.c +++ b/plugin/core/gvrender_core_map.c @@ -126,7 +126,7 @@ static void map_output_shape (GVJ_t *job, map_shape_t map_shape, pointf * AF, in core_fputs(job, " coords=\""); switch (map_shape) { case MAP_CIRCLE: - core_printf(job, "%d,%d,%d", A[0].x, A[0].y, A[1].x); + core_printf(job, "%d,%d,%d", A[0].x, A[0].y, A[1].x-A[0].x); break; case MAP_RECTANGLE: /* Y_GOES_DOWN so need UL to LR */