From: oetiker Date: Thu, 7 Apr 2005 21:31:09 +0000 (+0000) Subject: make libart happy by NOT adjusting coordinates and by using the ART_WIND_RULE_NONZERO... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=daffc0653c2282c549a19c70485ab9bec070217a;p=rrdtool-all.git 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@370 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c index ad9f16f0..76194f78 100644 --- a/program/src/rrd_gfx.c +++ b/program/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);