Files
xserver/dix
Peter Hutterer 9c8a2be2c7 dix: fix axis scaling.
For two axes [a, b] and [x, y] (inclusive), the formula to scale point P(ab)
to (x,y) is:
    (P - a)/(b - a) * (y - x) + x

And the whole end result rounded of course to get the integer we need.
2008-10-03 15:27:07 +09:30
..
2007-11-15 17:01:33 -05:00
2003-11-14 16:49:22 +00:00
2003-11-14 15:54:54 +00:00
2003-11-14 15:54:54 +00:00
2008-01-03 17:04:54 +10:30
2008-09-02 16:20:40 -04:00
2007-11-05 19:08:36 -05:00
2008-10-03 15:27:07 +09:30
2007-11-04 16:11:28 -08:00
2008-01-03 17:04:54 +10:30
2008-03-04 18:11:10 +10:30
2007-11-05 14:34:43 +00:00