Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/Viewport/IViewport.h @ 1577:e8a120dd05bd
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Sep 2020 16:51:14 +0200 |
parents | 92fca2b3ba3d |
children | 8563ea5d8ae4 |
line wrap: on
line diff
--- a/OrthancStone/Sources/Viewport/IViewport.h Thu Sep 24 16:40:30 2020 +0200 +++ b/OrthancStone/Sources/Viewport/IViewport.h Thu Sep 24 16:51:14 2020 +0200 @@ -66,8 +66,11 @@ /** * This function must be called when the layout has changed, and - * thus the size of the canvas must be re-computed. Avoid - * calling this method too often for performance. + * thus the size of the canvas must be re-computed. After a call + * to this method, the canvas size can be accessed through + * "GetCompositor().GetCanvasWidth()" and + * "GetCompositor().GetCanvasHeight()". Avoid calling this + * method too often for performance. **/ virtual void RefreshCanvasSize() = 0; };