Mercurial > hg > svgui
comparison layer/LayerGeometryProvider.h @ 1401:28075cc658c9
Scale pen for retina display on macOS as well as for hidpi display elsewhere
author | Chris Cannam |
---|---|
date | Thu, 15 Nov 2018 14:04:32 +0000 |
parents | bc2cb82050a0 |
children | b0eeec95ab5b |
comparison
equal
deleted
inserted
replaced
1400:decb7741d036 | 1401:28075cc658c9 |
---|---|
176 | 176 |
177 virtual void drawMeasurementRect(QPainter &p, const Layer *, | 177 virtual void drawMeasurementRect(QPainter &p, const Layer *, |
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 | |
182 virtual double scaleSize(double size) const = 0; | |
183 virtual double scalePenWidth(double width) const = 0; | |
184 virtual QPen scalePen(QPen pen) const = 0; | |
181 | 185 |
182 virtual View *getView() = 0; | 186 virtual View *getView() = 0; |
183 virtual const View *getView() const = 0; | 187 virtual const View *getView() const = 0; |
184 }; | 188 }; |
185 | 189 |