i just checked the zoom flow using debug.
The zoom action goes through the ViewOptions class
http://opengrok.libreoffice.org/xref/core/sw/inc/viewopt.hxx#163
it appears zoom is stored in nZoom, which is a
sal_uInt16<http://opengrok.libreoffice.org/s?defs=sal_uInt16&project=core>
  representing percentage.

So according to what you say, threre should be a different accessible
object or struct that holds the zoom with finer precision.
If so, then what object or class holds "the absolute source of truth" for
data regarding VCL elements?


On Mon, Aug 12, 2013 at 11:34 PM, Thorsten Behrens <
t...@documentfoundation.org> 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>
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to