summaryrefslogtreecommitdiffstats
path: root/chalk/doc/coordinates.txt
blob: 3d7e20dc6398817789c24e02cf8b0cdcab4599ae (plain)
1
2
3
4
5
6
7
8
9
Coordinates in Chalk

As with any paint app, finding out what you mean when you say (x,y) is difficult.
There are the screen coordinates, the coordinates of the canvas inside the view,
the zoomed coordinates -- and the image coordinates, paint device coordinates and the
coordinates of the data inside the paint device.

Iterators are created in terms of the image coordinates.