Mercurial > hg > svgui
comparison layer/SliceLayer.h @ 1383:86f319dd6ab9 spectrogramparam
Switch spectrum to antialiased drawing with considerable speedup for the dense areas; take horizontal scale height into account when rendering slice layer height
author | Chris Cannam |
---|---|
date | Wed, 07 Nov 2018 15:59:10 +0000 |
parents | d79e21855aef |
children | fc3d89f88690 |
comparison
equal
deleted
inserted
replaced
1382:2df1af7ac752 | 1383:86f319dd6ab9 |
---|---|
40 | 40 |
41 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; | 41 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; |
42 | 42 |
43 virtual int getVerticalScaleWidth(LayerGeometryProvider *v, bool, QPainter &) const; | 43 virtual int getVerticalScaleWidth(LayerGeometryProvider *v, bool, QPainter &) const; |
44 virtual void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const; | 44 virtual void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const; |
45 | |
46 virtual int getHorizontalScaleHeight(LayerGeometryProvider *, QPainter &) const { return 0; } | |
45 | 47 |
46 virtual ColourSignificance getLayerColourSignificance() const { | 48 virtual ColourSignificance getLayerColourSignificance() const { |
47 return ColourAndBackgroundSignificant; | 49 return ColourAndBackgroundSignificant; |
48 } | 50 } |
49 | 51 |