diff Framework/Toolbox/ViewportGeometry.cpp @ 726:4f2416d519b4

moving layers, widgets and loaders to Deprecated namespace
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 21 May 2019 11:43:25 +0200
parents 9a474e90e832
children
line wrap: on
line diff
--- a/Framework/Toolbox/ViewportGeometry.cpp	Mon May 20 16:26:34 2019 +0200
+++ b/Framework/Toolbox/ViewportGeometry.cpp	Tue May 21 11:43:25 2019 +0200
@@ -26,7 +26,7 @@
 
 #include <boost/math/special_functions/round.hpp>
 
-namespace OrthancStone
+namespace Deprecated
 {
   void ViewportGeometry::ComputeTransform()
   {
@@ -79,7 +79,7 @@
   }
 
 
-  void ViewportGeometry::SetSceneExtent(const Extent2D& extent)
+  void ViewportGeometry::SetSceneExtent(const OrthancStone::Extent2D& extent)
   {
     LOG(INFO) << "New scene extent: ("
               << extent.GetX1() << "," << extent.GetY1() << ") => ("
@@ -168,7 +168,7 @@
   }
 
 
-  void ViewportGeometry::ApplyTransform(CairoContext& context) const
+  void ViewportGeometry::ApplyTransform(OrthancStone::CairoContext& context) const
   {
     cairo_set_matrix(context.GetObject(), &transform_);
   }
@@ -198,9 +198,9 @@
   }
 
 
-  Matrix ViewportGeometry::GetMatrix() const
+  OrthancStone::Matrix ViewportGeometry::GetMatrix() const
   {
-    Matrix m(3, 3);
+    OrthancStone::Matrix m(3, 3);
 
     m(0, 0) = transform_.xx;
     m(0, 1) = transform_.xy;