[AdgPath] Allow NULL vector in adg_path_reflect()
commit305b640bb6b1bf75584a2ca9307d2b7bbb817db4
authorNicola Fontana <ntd@entidi.it>
Wed, 3 Feb 2010 18:41:08 +0000 (3 19:41 +0100)
committerNicola Fontana <ntd@entidi.it>
Wed, 3 Feb 2010 18:42:59 +0000 (3 19:42 +0100)
tree6487ac696fb0e6ae3dcaa07ffd02aac80dc0a3fb
parentdf2957691c532527c96ebd6200d4bab441aa9c57
[AdgPath] Allow NULL vector in adg_path_reflect()

By convention, allow a NULL vector and treat it as x reflection (y = 0).
Added also some more checks on the internal logic.
adg/adg-path.c