summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-05-10 19:24:53 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2013-05-10 19:24:53 +0100
commit6026da8b7fed1186c4f5c2926b621269bf77cea0 (patch)
tree428eeefd199e8e436f5d0d6e2356f8905a6826a4
parent86aa1a26b8ac2a9bea27cd78db4558840d899ad1 (diff)
downloadfpGUI-6026da8b7fed1186c4f5c2926b621269bf77cea0.tar.xz
agg: removed the pointless casts. The x & y params are already PDouble's
-rw-r--r--src/corelib/render/software/Agg2D.pas4
1 files changed, 2 insertions, 2 deletions
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;