From bc29751c47e5126fec4deaecf5b9e24311c3ede0 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 16 Mar 2012 18:34:34 +0200 Subject: agg: temporary fix to overcome the degraded quality of anti-aliasing Enabling the dash generator and then trying to draw a solid line caused bad quality anti-aliasing. Setting the dash line very large seems to overcome this problem, but I need to still find a permanent solution for this. --- src/corelib/render/software/agg_platform_x11.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/corelib/render/software/agg_platform_x11.inc b/src/corelib/render/software/agg_platform_x11.inc index 94846f8b..38f31b11 100644 --- a/src/corelib/render/software/agg_platform_x11.inc +++ b/src/corelib/render/software/agg_platform_x11.inc @@ -66,7 +66,7 @@ begin lsSolid: begin m_convDash.remove_all_dashes; - m_convDash.add_dash(1, 0); + m_convDash.add_dash(600, 0); {$NOTE Find a better way to prevent dash generation } end; lsDash: begin -- cgit v1.2.3-70-g09d2