comparison layer/Colour3DPlotRenderer.h @ 1096:6288f1b5f49b spectrogram-minor-refactor

Far more pragmatic update strategy
author Chris Cannam
date Mon, 11 Jul 2016 14:37:03 +0100
parents ba62684a4512
children 92ac1fce7102
comparison
equal deleted inserted replaced
1095:ba62684a4512 1096:6288f1b5f49b
145 * that the LayerGeometryProvider returns valid results; it is the 145 * that the LayerGeometryProvider returns valid results; it is the
146 * caller's responsibility to ensure these. 146 * caller's responsibility to ensure these.
147 */ 147 */
148 RenderResult renderTimeConstrained(LayerGeometryProvider *v, 148 RenderResult renderTimeConstrained(LayerGeometryProvider *v,
149 QPainter &paint, QRect rect); 149 QPainter &paint, QRect rect);
150
151 /**
152 * Return the area of the largest rectangle within the entire area
153 * of the cache that is unavailable in the cache. This is only
154 * valid in relation to a preceding render() call which is
155 * presumed to have set the area, start frame, and zoom level for
156 * the cache. It could be used to establish a suitable region for
157 * a subsequent paint request (because if an area is not in the
158 * cache, it cannot have been rendered since the cache was
159 * cleared).
160 *
161 * Returns an empty QRect if the cache is entirely valid.
162 */
163 QRect getLargestUncachedRect();
150 164
151 private: 165 private:
152 Sources m_sources; 166 Sources m_sources;
153 Parameters m_params; 167 Parameters m_params;
154 168