From 6026da8b7fed1186c4f5c2926b621269bf77cea0 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 10 May 2013 19:24:53 +0100 Subject: agg: removed the pointless casts. The x & y params are already PDouble's --- src/corelib/render/software/Agg2D.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas index e0519382..183f2af2 100644 --- a/src/corelib/render/software/Agg2D.pas +++ b/src/corelib/render/software/Agg2D.pas @@ -1520,14 +1520,14 @@ end; { WORLDTOSCREEN } procedure TAgg2D.WorldToScreen(x ,y : PDouble ); begin - m_transform.transform(@m_transform ,double_ptr(x ) ,double_ptr(y ) ); + m_transform.transform(@m_transform, x, y); end; { SCREENTOWORLD } procedure TAgg2D.ScreenToWorld(x ,y : PDouble ); begin - m_transform.inverse_transform(@m_transform ,double_ptr(x ) ,double_ptr(y ) ); + m_transform.inverse_transform(@m_transform, x, y); end; -- cgit v1.2.3-70-g09d2