Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1576:92fca2b3ba3d | 1577:e8a120dd05bd |
---|---|
64 virtual void Invalidate() = 0; | 64 virtual void Invalidate() = 0; |
65 | 65 |
66 | 66 |
67 /** | 67 /** |
68 * This function must be called when the layout has changed, and | 68 * This function must be called when the layout has changed, and |
69 * thus the size of the canvas must be re-computed. Avoid | 69 * thus the size of the canvas must be re-computed. After a call |
70 * calling this method too often for performance. | 70 * to this method, the canvas size can be accessed through |
71 * "GetCompositor().GetCanvasWidth()" and | |
72 * "GetCompositor().GetCanvasHeight()". Avoid calling this | |
73 * method too often for performance. | |
71 **/ | 74 **/ |
72 virtual void RefreshCanvasSize() = 0; | 75 virtual void RefreshCanvasSize() = 0; |
73 }; | 76 }; |
74 | 77 |
75 virtual ~IViewport() | 78 virtual ~IViewport() |