Mercurial > hg > orthanc-stone
diff Framework/Viewport/IViewport.h @ 1208:00e6bff9ea39 broker
handling of mouse interactions in ViewportController
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Dec 2019 18:51:03 +0100 |
parents | 6009c59d8676 |
children | 86a8266b8888 |
line wrap: on
line diff
--- a/Framework/Viewport/IViewport.h Tue Dec 03 12:29:06 2019 +0100 +++ b/Framework/Viewport/IViewport.h Tue Dec 03 18:51:03 2019 +0100 @@ -49,6 +49,7 @@ virtual Scene2D& GetScene() = 0; + // Get the center of the given pixel, in canvas coordinates virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) = 0; virtual bool HasCompositor() const = 0;