comparison layer/Colour3DPlotRenderer.h @ 1213:34df6ff25472 3.0-integration

Don't start in the middle when repainting the whole width while using a peak cache. It looks funny.
author Chris Cannam
date Thu, 05 Jan 2017 14:17:47 +0000
parents a1ee3108d1d3
children eaab8bab3522
comparison
equal deleted inserted replaced
1212:a1ee3108d1d3 1213:34df6ff25472
305 QImage scaleDrawBufferImage(QImage source, int targetWidth, int targetHeight) 305 QImage scaleDrawBufferImage(QImage source, int targetWidth, int targetHeight)
306 const; 306 const;
307 307
308 ColumnOp::Column getColumn(int sx, int minbin, int nbins, 308 ColumnOp::Column getColumn(int sx, int minbin, int nbins,
309 int peakCacheIndex) const; // -1 => don't use cache 309 int peakCacheIndex) const; // -1 => don't use cache
310
311 void getPreferredPeakCache(const LayerGeometryProvider *,
312 int &peakCacheIndex, int &binsPerPeak) const;
310 }; 313 };
311 314
312 #endif 315 #endif
313 316