[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macO
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #49053] figure scaling issue with Qt 5 on macOS with Retina / HiDPI scaling |
Date: |
Tue, 20 Feb 2018 09:33:07 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #100, bug #49053 (project octave):
@John: I am currently trying to implement -opengl, -painters and -RGBImage
print options and it will be useful to be able to control the resolution of
the opengl renderer. In this perspective, it would be handy (and simpler I
think) to add a "opengl_renderer::devicePixelRatio" attribute and set its
value with a public method "opengl_renderer::set_devicePixelRatio (double)"
before rendering. The advantage would be:
* devicePixelRatio is accessible from everywhere in the opengl_renderer class,
without having to get it multiple times from figure properties
* the print function can change/restore the value of __devicePixelRatio__
property in order to achieve whatever resolution is required
Do you think it would be possible?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49053>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/