comparison 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
comparison
equal deleted inserted replaced
1401:28075cc658c9 1402:b0eeec95ab5b
178 QRect rect, bool focus) const = 0; 178 QRect rect, bool focus) const = 0;
179 179
180 virtual void updatePaintRect(QRect r) = 0; 180 virtual void updatePaintRect(QRect r) = 0;
181 181
182 virtual double scaleSize(double size) const = 0; 182 virtual double scaleSize(double size) const = 0;
183 virtual int scalePixelSize(int size) const = 0;
183 virtual double scalePenWidth(double width) const = 0; 184 virtual double scalePenWidth(double width) const = 0;
184 virtual QPen scalePen(QPen pen) const = 0; 185 virtual QPen scalePen(QPen pen) const = 0;
185 186
186 virtual View *getView() = 0; 187 virtual View *getView() = 0;
187 virtual const View *getView() const = 0; 188 virtual const View *getView() const = 0;