diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-05-10 19:24:53 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-05-10 19:24:53 +0100 |
commit | 6026da8b7fed1186c4f5c2926b621269bf77cea0 (patch) | |
tree | 428eeefd199e8e436f5d0d6e2356f8905a6826a4 /src/corelib/render | |
parent | 86aa1a26b8ac2a9bea27cd78db4558840d899ad1 (diff) | |
download | fpGUI-6026da8b7fed1186c4f5c2926b621269bf77cea0.tar.xz |
agg: removed the pointless casts. The x & y params are already PDouble's
Diffstat (limited to 'src/corelib/render')
-rw-r--r-- | src/corelib/render/software/Agg2D.pas | 4 |
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; |