Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
1072:76b50b48e1e4 | 1073:cb4c9fb37ddc |
---|---|
297 | 297 |
298 /** | 298 /** |
299 * When painting, we draw directly onto the draw buffer and then | 299 * When painting, we draw directly onto the draw buffer and then |
300 * copy this to the part of the image cache that needed refreshing | 300 * copy this to the part of the image cache that needed refreshing |
301 * before copying the image cache onto the window. (Remind me why | 301 * before copying the image cache onto the window. (Remind me why |
302 * we don't draw directly onto the cache?) | 302 * we don't draw directly onto the cache?) (Answer: it's because |
303 * we usually apply scaling and smoothing in the x axis when | |
304 * copying from draw buffer to cache) | |
303 */ | 305 */ |
304 mutable QImage m_drawBuffer; | 306 mutable QImage m_drawBuffer; |
305 | 307 |
306 bool m_exiting; | 308 bool m_exiting; |
307 | 309 |