Mercurial > hg > orthanc-stone
diff Framework/Scene2D/CairoCompositor.cpp @ 911:64e5f3ff6360 am-dev
Merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 18 Jul 2019 10:50:59 +0200 |
parents | 7a7e4e1f558f |
children | 1091b2adeb5a |
line wrap: on
line diff
--- a/Framework/Scene2D/CairoCompositor.cpp Wed Jul 17 15:33:07 2019 +0200 +++ b/Framework/Scene2D/CairoCompositor.cpp Thu Jul 18 10:50:59 2019 +0200 @@ -91,9 +91,14 @@ unsigned int canvasHeight) : helper_(scene, *this) { + UpdateSize(canvasWidth, canvasHeight); + } + + void CairoCompositor::UpdateSize(unsigned int canvasWidth, + unsigned int canvasHeight) + { canvas_.SetSize(canvasWidth, canvasHeight, false); } - CairoCompositor::~CairoCompositor() {