diff layer/SpectrogramLayer.h @ 1073:cb4c9fb37ddc spectrogram-minor-refactor

More renderer stubbing
author Chris Cannam
date Wed, 29 Jun 2016 11:53:00 +0100
parents a0f234acd6e7
children 179ea8a2f650
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Mon Jun 27 16:01:42 2016 +0100
+++ b/layer/SpectrogramLayer.h	Wed Jun 29 11:53:00 2016 +0100
@@ -299,7 +299,9 @@
      * When painting, we draw directly onto the draw buffer and then
      * copy this to the part of the image cache that needed refreshing
      * before copying the image cache onto the window.  (Remind me why
-     * we don't draw directly onto the cache?)
+     * we don't draw directly onto the cache?) (Answer: it's because
+     * we usually apply scaling and smoothing in the x axis when
+     * copying from draw buffer to cache)
      */
     mutable QImage m_drawBuffer;