From f279e277f204f59238b523b6f0208b0bee309e3b Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 7 Apr 2005 21:31:09 +0000 Subject: [PATCH] make libart happy by NOT adjusting coordinates and by using the ART_WIND_RULE_NONZERO winding rule git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@370 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_gfx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c index ad9f16f..76194f7 100644 --- a/src/rrd_gfx.c +++ b/src/rrd_gfx.c @@ -524,7 +524,7 @@ int gfx_render_png (gfx_canvas_t *canvas, vec = art_vpath_affine_transform(node->path,dst); if (node->closed_path) gfx_libart_close_path(node, &vec); - gfx_round_scaled_coordinates(vec); + /* gfx_round_scaled_coordinates(vec); */ pvec = art_vpath_perturb(vec); art_free(vec); if(node->type == GFX_LINE){ @@ -535,7 +535,7 @@ int gfx_render_png (gfx_canvas_t *canvas, svp = art_svp_from_vpath ( pvec ); svpt = art_svp_uncross( svp ); art_free(svp); - svp = art_svp_rewind_uncrossed(svpt,ART_WIND_RULE_ODDEVEN); + svp = art_svp_rewind_uncrossed(svpt,ART_WIND_RULE_NONZERO); art_free(svpt); } art_free(pvec); -- 2.11.0