matching VCL to touch screen coordinates

Ptyl Dragon ptyl at cloudon.com
Mon Aug 12 13:57:45 PDT 2013


Ah, integer fractions - i thought it meant percents, but it means a
representation of rational numbers, through the use of two integers.
Ok. This info may indeed solve this.

Thanks!

On Monday, August 12, 2013, Thorsten Behrens wrote:

> 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
>


-- 

[image: appicon.png]


*Ptyl Dragon*

Twitter <http://www.twitter.com/cloudoninc> |
LinkedIn<http://www.linkedin.com/company/cloudon>
 | Facebook <http://www.facebook.com/cloudoninc> |
Blog<http://site.cloudon.com/blog>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130812/76b8a45a/attachment.html>


More information about the LibreOffice mailing list