Mercurial > hg > orthanc-stone
diff Framework/Scene2D/OpenGLCompositor.h @ 617:7efa2543699d
simplification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 May 2019 18:21:59 +0200 |
parents | 6129b1e5ba42 |
children | 80829436ce0c 77c96ba899f9 |
line wrap: on
line diff
--- a/Framework/Scene2D/OpenGLCompositor.h Thu May 02 13:27:41 2019 +0200 +++ b/Framework/Scene2D/OpenGLCompositor.h Thu May 02 18:21:59 2019 +0200 @@ -69,5 +69,17 @@ unsigned int fontSize, Orthanc::Encoding codepage); #endif + + unsigned int GetCanvasWidth() const + { + return canvasWidth_; + } + + unsigned int GetCanvasHeight() const + { + return canvasHeight_; + } + + ScenePoint2D GetPixelCenterCoordinates(int x, int y) const; }; }