comparison layer/Colour3DPlotRenderer.h @ 1122:94370157b265 spectrogram-minor-refactor

Fixes and debug output for mag range calculations
author Chris Cannam
date Fri, 22 Jul 2016 13:56:24 +0100
parents d930ff725f64
children 50324fca1328
comparison
equal deleted inserted replaced
1121:d930ff725f64 1122:94370157b265
164 * Returns an empty QRect if the cache is entirely valid. 164 * Returns an empty QRect if the cache is entirely valid.
165 */ 165 */
166 QRect getLargestUncachedRect(const LayerGeometryProvider *v); 166 QRect getLargestUncachedRect(const LayerGeometryProvider *v);
167 167
168 /** 168 /**
169 * Return true if the provider's geometry differs from the cache,
170 * or if we are not using a cache. i.e. if the cache will be
171 * regenerated for the next render, or the next render performed
172 * from scratch.
173 */
174 bool geometryChanged(const LayerGeometryProvider *v);
175
176 /**
169 * Return true if the rendering will be opaque. This may be used 177 * Return true if the rendering will be opaque. This may be used
170 * by the calling layer to determine whether it can scroll 178 * by the calling layer to determine whether it can scroll
171 * directly without regard to any other layers beneath. 179 * directly without regard to any other layers beneath.
172 */ 180 */
173 bool willRenderOpaque(const LayerGeometryProvider *v) { 181 bool willRenderOpaque(const LayerGeometryProvider *v) {