diff layer/Colour3DPlotRenderer.h @ 1083:7122aae95a88 spectrogram-minor-refactor

Start introducing render code
author Chris Cannam
date Fri, 01 Jul 2016 11:21:09 +0100
parents 5b4fe7bb9430
children c8683d94442a
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.h	Fri Jul 01 09:55:48 2016 +0100
+++ b/layer/Colour3DPlotRenderer.h	Fri Jul 01 11:21:09 2016 +0100
@@ -157,6 +157,12 @@
     RenderResult render(QPainter &paint, QRect rect, bool timeConstrained);
     void renderToCache(int x0, int repaintWidth,
                        bool rightToLeft, bool timeConstrained);
+    int renderDrawBuffer(int w, int h,
+                         const std::vector<int> &binforx,
+                         const std::vector<double> &binfory,
+                         bool usePeaksCache,
+                         bool rightToLeft,
+                         bool timeConstrained);
     void clearDrawBuffer(int w, int h);
 };