changeset 912:e4ac54cb8771 am-dev

fix
author Alain Mazy <alain@mazy.be>
date Thu, 18 Jul 2019 10:57:59 +0200
parents 64e5f3ff6360
children 912cc77be3b4
files Framework/Scene2D/Internals/CompositorHelper.h
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Scene2D/Internals/CompositorHelper.h	Thu Jul 18 10:50:59 2019 +0200
+++ b/Framework/Scene2D/Internals/CompositorHelper.h	Thu Jul 18 10:57:59 2019 +0200
@@ -29,26 +29,6 @@
 
 namespace OrthancStone
 {
-  class ICompositor : public boost::noncopyable
-  {
-  public:
-    virtual ~ICompositor()
-    {
-    }
-    
-    virtual unsigned int GetCanvasWidth() const = 0;
-    virtual unsigned int GetCanvasHeight() const = 0;
-    virtual void Refresh() = 0;
-
-    ScenePoint2D GetPixelCenterCoordinates(int x, int y) const
-    {
-      return ScenePoint2D(
-        static_cast<double>(x) + 0.5 - static_cast<double>(GetCanvasWidth()) / 2.0,
-        static_cast<double>(y) + 0.5 - static_cast<double>(GetCanvasHeight()) / 2.0);
-    }
-
-  };
-
   namespace Internals
   {
     class CompositorHelper : protected Scene2D::IVisitor