comparison view/View.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 694004228ab7
children b0eeec95ab5b
comparison
equal deleted inserted replaced
1400:decb7741d036 1401:28075cc658c9
374 374
375 QSize getPaintSize() const { return getPaintRect().size(); } 375 QSize getPaintSize() const { return getPaintRect().size(); }
376 int getPaintWidth() const { return getPaintRect().width(); } 376 int getPaintWidth() const { return getPaintRect().width(); }
377 int getPaintHeight() const { return getPaintRect().height(); } 377 int getPaintHeight() const { return getPaintRect().height(); }
378 378
379 double scaleSize(double size) const;
380 double scalePenWidth(double width) const;
381 QPen scalePen(QPen pen) const;
382
379 typedef std::set<Model *> ModelSet; 383 typedef std::set<Model *> ModelSet;
380 ModelSet getModels(); 384 ModelSet getModels();
381 385
382 //!!! 386 //!!!
383 Model *getAligningModel() const; 387 Model *getAligningModel() const;