Mercurial > hg > orthanc-stone
diff Framework/Layers/ColorFrameRenderer.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 | aaeec7be8fb7 |
children |
line wrap: on
line diff
--- a/Framework/Layers/ColorFrameRenderer.cpp Mon May 20 16:26:34 2019 +0200 +++ b/Framework/Layers/ColorFrameRenderer.cpp Tue May 21 11:43:25 2019 +0200 @@ -25,11 +25,12 @@ #include <Core/Images/Image.h> #include <Core/Images/ImageProcessing.h> -namespace OrthancStone +namespace Deprecated { - CairoSurface* ColorFrameRenderer::GenerateDisplay(const RenderStyle& style) + OrthancStone::CairoSurface* ColorFrameRenderer::GenerateDisplay(const RenderStyle& style) { - std::auto_ptr<CairoSurface> display(new CairoSurface(frame_->GetWidth(), frame_->GetHeight(), false /* no alpha */)); + std::auto_ptr<OrthancStone::CairoSurface> display + (new OrthancStone::CairoSurface(frame_->GetWidth(), frame_->GetHeight(), false /* no alpha */)); Orthanc::ImageAccessor target; display->GetWriteableAccessor(target); @@ -41,7 +42,7 @@ ColorFrameRenderer::ColorFrameRenderer(const Orthanc::ImageAccessor& frame, - const CoordinateSystem3D& framePlane, + const OrthancStone::CoordinateSystem3D& framePlane, double pixelSpacingX, double pixelSpacingY, bool isFullQuality) :