comparison layer/Colour3DPlotRenderer.cpp @ 1074:6f98aa5291d4 spectrogram-minor-refactor

Pull out render timer
author Chris Cannam
date Wed, 29 Jun 2016 14:04:57 +0100
parents cb4c9fb37ddc
children 2e1d6c2ed3ee
comparison
equal deleted inserted replaced
1073:cb4c9fb37ddc 1074:6f98aa5291d4
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #include "Colour3DPlotRenderer.h" 16 #include "Colour3DPlotRenderer.h"
17 #include "RenderTimer.h"
17 18
18 Colour3DPlotRenderer::RenderResult 19 Colour3DPlotRenderer::RenderResult
19 Colour3DPlotRenderer::render(QPainter &paint, 20 Colour3DPlotRenderer::render(QPainter &paint,
20 QRect rect, 21 QRect rect,
21 bool complete) 22 bool complete)
23 //!!! todo: timing/incomplete paint 24 //!!! todo: timing/incomplete paint
24 25
25 //!!! todo: peak frequency style 26 //!!! todo: peak frequency style
26 27
27 //!!! todo: transparent style from Colour3DPlot 28 //!!! todo: transparent style from Colour3DPlot
29
30 //!!! todo: bin boundary alignment when in BinResolution
31
32 return { rect, {} };
28 } 33 }
29 34