Mercurial > hg > orthanc-stone
diff Framework/Scene2D/PointerEvent.cpp @ 617:7efa2543699d
simplification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 May 2019 18:21:59 +0200 |
parents | b716763571ad |
children | 00e6bff9ea39 2d8ab34c8c91 |
line wrap: on
line diff
--- a/Framework/Scene2D/PointerEvent.cpp Thu May 02 13:27:41 2019 +0200 +++ b/Framework/Scene2D/PointerEvent.cpp Thu May 02 18:21:59 2019 +0200 @@ -46,15 +46,6 @@ } - // Add the center of the pixel - void PointerEvent::AddIntegerPosition(int x, - int y) - { - AddPosition(static_cast<double>(x) + 0.5, - static_cast<double>(y) + 0.5); - } - - ScenePoint2D PointerEvent::GetPosition(size_t index) const { if (index < positions_.size())