diff Framework/Viewport/WebAssemblyViewport.h @ 1489:6e43cac7833c

Added public method to update canvas pixel size from CSS size
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 23 Jun 2020 15:41:52 +0200
parents 30deba7bc8e2
children
line wrap: on
line diff
--- a/Framework/Viewport/WebAssemblyViewport.h	Tue Jun 23 13:44:23 2020 +0200
+++ b/Framework/Viewport/WebAssemblyViewport.h	Tue Jun 23 15:41:52 2020 +0200
@@ -99,6 +99,7 @@
 
     ~WebAssemblyViewport();
 
+    virtual void UpdateCanvasSize();
 
     /**
     This method takes ownership