<div dir="ltr">i just checked the zoom flow using debug.<div>The zoom action goes through the ViewOptions class</div><div><a href="http://opengrok.libreoffice.org/xref/core/sw/inc/viewopt.hxx#163">http://opengrok.libreoffice.org/xref/core/sw/inc/viewopt.hxx#163</a><br>

</div><div>it appears zoom is stored in nZoom, which is a <span style="color:rgb(0,0,0)"> </span><a href="http://opengrok.libreoffice.org/s?defs=sal_uInt16&project=core" style="color:rgb(16,88,2);text-decoration:none">sal_uInt16</a><span style="color:rgb(0,0,0)"> </span> representing percentage.<br>

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

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 12, 2013 at 11:34 PM, Thorsten Behrens <span dir="ltr"><<a href="mailto:thb@documentfoundation.org" target="_blank">thb@documentfoundation.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Ptyl Dragon wrote:<br>
> We cannot express the difference between 1023 and 1024, in units of 1%, as<br>
> 1% of 1024 is 10.24. So the scale is not sufficient, and even if we fixed<br>
> it for iPad, tomorrow there might be a touch device with twice the<br>
> resolution.<br>
><br>
</div>Hi Ptyl,<br>
<br>
yes, sure. But vcl itself uses integer fractions to express scaling<br>
(check the MapMode class there), as such it should be able to convey<br>
the necessary information. Thus the question for code to look at - I<br>
seem to miss the point. ;)<br>
<br>
Cheers,<br>
<br>
-- Thorsten<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
        <table border="0" cellpadding="0" cellspacing="0" style="font-family:arial;font-size:small">
                <tbody>
                        <tr>
                                <td style="width:51pt;padding:0.75pt" width="68">
                                        <p style="margin-right:0.4pt;margin-bottom:0.0001pt;margin-left:0.4pt">
                                                <a name="SafeHtmlFilter_SafeHtmlFilter_13ed1a8c2f9e26a1__MailAutoSig" style="color:rgb(17,85,204)"></a><span style="font-size:9pt;font-family:Helvetica,sans-serif"><img alt="appicon.png" height="63" src="http://site.cloudon.com/wp-content/uploads/2012/05/appicon.png" width="64"></span></p>


                                </td>
                                <td>
                                         </td>
                                <td style="width:207pt;padding:0.75pt" width="276">
                                        <p style="margin-right:0.4pt;margin-bottom:0.0001pt;margin-left:0.4pt">
                                                <strong>Ptyl Dragon</strong><br>
                                                <br>
                                                <a href="http://www.twitter.com/cloudoninc" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(148,201,71);text-decoration:none">Twitter</span></a><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(102,102,102)">|</span><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><a href="http://www.linkedin.com/company/cloudon" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(148,201,71);text-decoration:none">LinkedIn</span></a><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(102,102,102)"> |</span><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><a href="http://www.facebook.com/cloudoninc" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(148,201,71);text-decoration:none">Facebook</span></a><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(102,102,102)">|</span><span style="font-size:11.5pt;font-family:Helvetica,sans-serif"> </span><a href="http://site.cloudon.com/blog" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(148,201,71);text-decoration:none">Blog</span></a></p>


                                </td>
                        </tr>
                </tbody>
        </table>
        <table border="0" cellpadding="0" cellspacing="0">
                <tbody>
                        <tr>
                                <td style="width:51.0pt;padding:.75pt .75pt .75pt .75pt" width="68">
                                         </td>
                                <td style="width:207.0pt;padding:.75pt .75pt .75pt .75pt" width="276">
                                        <p style="margin-top:0in;margin-right:.4pt;margin-bottom:0in;margin-left:.4pt;margin-bottom:.0001pt">
                                                 </p>
                                </td>
                        </tr>
                </tbody>
        </table>
</div>
<br>
</div>