diff layer/Colour3DPlotRenderer.h @ 1165:c036560a7205 3.0-integration

Introduce our own scaleDrawBufferImage (though I think we probably won't actually want to use this, so I expect to back it out again)
author Chris Cannam
date Thu, 17 Nov 2016 11:48:42 +0000
parents ab169938832a
children d89e04b0eff3
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.h	Thu Nov 10 09:58:28 2016 +0000
+++ b/layer/Colour3DPlotRenderer.h	Thu Nov 17 11:48:42 2016 +0000
@@ -302,6 +302,9 @@
 
     RenderType decideRenderType(const LayerGeometryProvider *) const;
 
+    QImage scaleDrawBufferImage(QImage source, int targetWidth, int targetHeight)
+        const;
+    
     ColumnOp::Column getColumn(int sx, int minbin, int nbins,
                                bool usePeakCache) const;
 };