diff options
Diffstat (limited to 'converter/other/pamtosvg/vector.c')
-rw-r--r-- | converter/other/pamtosvg/vector.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/converter/other/pamtosvg/vector.c b/converter/other/pamtosvg/vector.c index 43e1872e..e25c1068 100644 --- a/converter/other/pamtosvg/vector.c +++ b/converter/other/pamtosvg/vector.c @@ -235,6 +235,15 @@ Psubtract(float_coord const c1, +vector_type +Pdirection(float_coord const final, + float_coord const initial) { + + return normalize(Psubtract(final, initial)); +} + + + /* Operations on integer points. */ vector_type |