Mercurial > hg > svgui
diff layer/LayerGeometryProvider.h @ 1402:b0eeec95ab5b
Handle integer pixel scaling as well
author | Chris Cannam |
---|---|
date | Thu, 15 Nov 2018 14:18:26 +0000 |
parents | 28075cc658c9 |
children | 4f8c72adbf43 |
line wrap: on
line diff
--- a/layer/LayerGeometryProvider.h Thu Nov 15 14:04:32 2018 +0000 +++ b/layer/LayerGeometryProvider.h Thu Nov 15 14:18:26 2018 +0000 @@ -180,6 +180,7 @@ virtual void updatePaintRect(QRect r) = 0; virtual double scaleSize(double size) const = 0; + virtual int scalePixelSize(int size) const = 0; virtual double scalePenWidth(double width) const = 0; virtual QPen scalePen(QPen pen) const = 0;