summaryrefslogtreecommitdiff
path: root/dix/Makefile.am
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-02 08:55:14 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-03 15:27:07 +0930
commit9c8a2be2c73abf06245b1eb7f05f93e104dcfe42 (patch)
tree8a9f7f9bf3c40f0818439ef7d367206c13ffc071 /dix/Makefile.am
parent93ef72fa26b27cf90bf5c64ec19ac295a113aaae (diff)
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.
Diffstat (limited to 'dix/Makefile.am')
0 files changed, 0 insertions, 0 deletions