[CpmlPair] Implemented cpml_pair_at_... family
commit15fc5ca83dbebf378501b81f3514f2565b722e00
authorNicola Fontana <ntd@entidi.it>
Tue, 3 Feb 2009 20:38:58 +0000 (3 21:38 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 3 Feb 2009 20:38:58 +0000 (3 21:38 +0100)
tree73462451d04afb3642f6a6d7e759ac5927f559f9
parent66c9aacdab0cceea266af925c36adac6d7d45511
[CpmlPair] Implemented cpml_pair_at_... family

adg_pair_at_line() uses the "t" parameter as percentage between the
starting and the ending point, where 0 is the start and 1 is the end
(being linear, 0.5 means the mid point).

At the reverse side, adg_pair_at_curve() uses "t" as the "time",
that is the value of "t" in the canonical Bézier function. Again,
0 is the start point and 1 is the end point but 0.5 is not
necessarely the mid point.
cpml/cpml-pair.c
cpml/cpml-pair.h