Mercurial > hg > svgui
comparison layer/LinearNumericalScale.h @ 904:e0f08e108064 cxx11
Move to using double rather than float for floating-point calculations (float only for storage); more build fixes
author | Chris Cannam |
---|---|
date | Mon, 09 Mar 2015 12:02:10 +0000 |
parents | e77b1673e17e |
children | 94e4952a6774 |
comparison
equal
deleted
inserted
replaced
903:1757933ce5a7 | 904:e0f08e108064 |
---|---|
27 public: | 27 public: |
28 int getWidth(View *v, QPainter &paint); | 28 int getWidth(View *v, QPainter &paint); |
29 | 29 |
30 void paintVertical | 30 void paintVertical |
31 (View *v, const VerticalScaleLayer *layer, QPainter &paint, int x0, | 31 (View *v, const VerticalScaleLayer *layer, QPainter &paint, int x0, |
32 float minf, float maxf); | 32 double minf, double maxf); |
33 }; | 33 }; |
34 | 34 |
35 #endif | 35 #endif |
36 | 36 |