Canvas rotation preliminary patch

Dmitry Kazakov dimula73 at gmail.com
Fri Aug 13 18:11:38 CEST 2010


A short summary of Krita coordinate systems:

1) KisImage pixels - pixels those are stored in memory
2) Document points (imagePixel*image->resX())
3) Flake pixels - zommed image with axes origin in the top left corner of
the image
4) PostprocessedFlake pixels - flake coordinate system with applied
transformation (like rotation or mirroring)
5) Widget pixels - takes scrolling into account
6) Viewport pixels - the one used in KisPrescaledProjection. Looks like
flake coordinate system, but it's origin is moved to the corner of widget
area.

Here is a draft explaining that:
http://imagebin.ca/view/tW0n6J.html

-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20100813/98783d7a/attachment.htm 


More information about the kimageshop mailing list