matching VCL to touch screen coordinates
Thorsten Behrens
thb at documentfoundation.org
Mon Aug 12 13:34:47 PDT 2013
Ptyl Dragon wrote:
> We cannot express the difference between 1023 and 1024, in units of 1%, as
> 1% of 1024 is 10.24. So the scale is not sufficient, and even if we fixed
> it for iPad, tomorrow there might be a touch device with twice the
> resolution.
>
Hi Ptyl,
yes, sure. But vcl itself uses integer fractions to express scaling
(check the MapMode class there), as such it should be able to convey
the necessary information. Thus the question for code to look at - I
seem to miss the point. ;)
Cheers,
-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130812/0bbf4ca8/attachment.pgp>
More information about the LibreOffice
mailing list