From bf1664961c62e7cf5260b8e757c12118ff948502 Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 1 Jan 2008 14:51:13 +0000 Subject: [PATCH] Don't render feathering of circles when quality is 10. git-svn-id: http://svn.voria.com/code@1252 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/modules/mod_geometry/circle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/modules/mod_geometry/circle.cpp b/synfig-core/trunk/src/modules/mod_geometry/circle.cpp index 20f7f01..b5d59e2 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/circle.cpp +++ b/synfig-core/trunk/src/modules/mod_geometry/circle.cpp @@ -441,7 +441,8 @@ Circle::accelerated_render(Context context,Surface *surface,int quality, const R // Increasing the feather amount by the size of // a pixel will create an anti-aliased appearance - const Real newfeather=feather + (abs(ph)+abs(pw))/4.0; + // don't render feathering at all when quality is 10 + const Real newfeather = (quality == 10) ? 0 : feather + (abs(ph)+abs(pw))/4.0; //int u,v; int left = (int) floor( (pos[0] - x_neg*(radius+newfeather) - tl[0]) / pw ); -- 2.7.4