[Interest] How to scale/transform GUI for screens with wide pixels (non-square)

rpzrpzrpz at gmail.com rpzrpzrpz at gmail.com
Tue Apr 19 15:09:12 CEST 2016


De-stretch with a multiplier and then calibrate.

You need to map 520 back to 480 and lose some pixels in the process.

Some Android devices (Chuwi 8) have massive reported distortion.  So a calibration screen is necessary since
you cannot figure it out by querying the GPU.

md

On 4/19/2016 12:30 AM, Callum Coe wrote:
>
> I’ve an  embedded device with a physical screen resolution of 800 x 480, but the pixels themselves are actually wider than they are high.
>
> The entire GUI therefore appears stretched, so it looks like a 800 x 480 GUI stretched to fill 800 x 520 screen.
>
> How am I best to handle this, so my GUI does not appear wider than it should?
>
> Thanks,
>
> iVolve <http://www.ivolve.com/>
>
> 	
>
> *Callum Coe *
> Engineer
> *t: *+61 (7) 3253 6700 *w: *www.ivolve.com <http://www.ivolve.com> iVolve LinkedIn <http://www.linkedin.com/company/ivolve-industrial-technology>iVolve Twitter <https://twitter.com/ivolve>
> 5/36 Agnes St, Fortitude Valley, Brisbane QLD 4006
>
> This e-mail and any attachments are private and confidential and may contain legally privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments. This notice should not be removed.
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160419/b4986000/attachment.html>


More information about the Interest mailing list