A short summary of Krita coordinate systems:<br><br>1) KisImage pixels - pixels those are stored in memory<br>2) Document points (imagePixel*image-&gt;resX())<br>3) Flake pixels - zommed image with axes origin in the top left corner of the image<br>
4) PostprocessedFlake pixels - flake coordinate system with applied transformation (like rotation or mirroring)<br>5) Widget pixels - takes scrolling into account<br>6) Viewport pixels - the one used in KisPrescaledProjection. Looks like flake coordinate system, but it&#39;s origin is moved to the corner of widget area.<br>
<br>Here is a draft explaining that:<br><a href="http://imagebin.ca/view/tW0n6J.html">http://imagebin.ca/view/tW0n6J.html</a><br><br>-- <br>Dmitry Kazakov<br>