<br><br><div class="gmail_quote">On Mon, Nov 2, 2009 at 12:21 AM, <a href="mailto:LukasT.dev@gmail.com">LukasT.dev@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:lukast.dev@gmail.com">lukast.dev@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Sunday 01 November 2009 15:25:58 Dmitry Kazakov wrote:<br>

&gt; Hi!<br>
&gt;<br>
&gt; Just an observation i got today while using PS7.  =)<br>
&gt; It has quite good and fast zooming engine. And the most interesting fact<br>
&gt; about that - it uses different zoom-algorithms for different zoom-levels.<br>
&gt; More exactly:<br>
&gt;<br>
&gt; For zoom-levels 100,50,25,12.5 - it uses smooth-scale algorithm<br>
&gt; For other levels - nearest-neighbor. More than that, it uses nearest<br>
&gt; prescaled(?) image for NN-sampling.<br>
&gt;<br>
<br>
</div></div>In Krita&#39;s OpenGL canvas we use linear interpolation (you called that smooth-<br>
scale) for zoom level below 200 % and nearest neighbour for the levels above.<br>
Check kis_opengl_canvas2.cpp (line 223).<br>
<br></blockquote><div><br>QPainter canvas works right the same way =)<br></div></div><br><br clear="all"><br>-- <br>Dmitry Kazakov<br>