comparison layer/SliceLayer.h @ 1284:51e6125627fa

Hack to ensure vertical scale lines are in the right place in pixel-doubling rendering
author Chris Cannam
date Tue, 08 May 2018 14:27:54 +0100
parents fc9d9f1103fa
children d79e21855aef
comparison
equal deleted inserted replaced
1283:6e35062fc10a 1284:51e6125627fa
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _SLICE_LAYER_H_ 16 #ifndef SV_SLICE_LAYER_H
17 #define _SLICE_LAYER_H_ 17 #define SV_SLICE_LAYER_H
18 18
19 #include "SingleColourLayer.h" 19 #include "SingleColourLayer.h"
20 20
21 #include "base/Window.h" 21 #include "base/Window.h"
22 22
151 float m_initialThreshold; 151 float m_initialThreshold;
152 float m_gain; 152 float m_gain;
153 int m_minbin; 153 int m_minbin;
154 int m_maxbin; 154 int m_maxbin;
155 mutable std::vector<int> m_scalePoints; 155 mutable std::vector<int> m_scalePoints;
156 mutable int m_scalePaintHeight;
156 mutable std::map<int, int> m_xorigins; // LayerGeometryProvider id -> x 157 mutable std::map<int, int> m_xorigins; // LayerGeometryProvider id -> x
157 mutable std::map<int, int> m_yorigins; // LayerGeometryProvider id -> y 158 mutable std::map<int, int> m_yorigins; // LayerGeometryProvider id -> y
158 mutable std::map<int, int> m_heights; // LayerGeometryProvider id -> h 159 mutable std::map<int, int> m_heights; // LayerGeometryProvider id -> h
159 mutable sv_frame_t m_currentf0; 160 mutable sv_frame_t m_currentf0;
160 mutable sv_frame_t m_currentf1; 161 mutable sv_frame_t m_currentf1;