[vtk-developers] Fractional DPI scaling not supported by QVTKOpenGLWidget?

Marcus D. Hanwell marcus.hanwell at kitware.com
Fri Feb 9 11:56:50 EST 2018


On Fri, Feb 9, 2018 at 10:58 AM, Elvis Stansvik <
elvis.stansvik at orexplore.com> wrote:

> 2018-02-09 15:24 GMT+01:00 Cory Quammen <cory.quammen at kitware.com>:
> > Elvis,
> >
> > I don't believe there is a reason we can't use the qreal version of
> > devicePixelRatioF(). I think the F may have gotten dropped in a series of
> > commits to improve DPI support.
> >
> > A patch would be welcome.
>
> Great, I'll take a stab at it.
>
> I know for my part I had hoped to work with the fractional API, but only
had real examples using integer values. So the real-world examples drove
the testing/development we did as we were getting this working in Tomviz.
It would be great to collect some examples of non-integer situations we
might do some verification on.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180209/0b1287ff/attachment-0001.html>


More information about the vtk-developers mailing list