summaryrefslogtreecommitdiff
path: root/src/corelib/render
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-16 18:34:34 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-16 18:34:34 +0200
commitbc29751c47e5126fec4deaecf5b9e24311c3ede0 (patch)
treeae36228dc3b16cec63017fb3d98c94926decbe2f /src/corelib/render
parent8ede8041b9aef7973495d605687d82200ac7d726 (diff)
downloadfpGUI-bc29751c47e5126fec4deaecf5b9e24311c3ede0.tar.xz
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.
Diffstat (limited to 'src/corelib/render')
-rw-r--r--src/corelib/render/software/agg_platform_x11.inc2
1 files changed, 1 insertions, 1 deletions
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