[AdgPath] Added adg_path_reflect() API
commite77d42c9ebed29277692e562369ca475fd2fd2ac
authorNicola Fontana <ntd@entidi.it>
Mon, 19 Oct 2009 13:20:54 +0000 (19 15:20 +0200)
committerNicola Fontana <ntd@entidi.it>
Mon, 19 Oct 2009 13:20:54 +0000 (19 15:20 +0200)
tree6bc3ccf40bf80d66ea185daf47501ba48ed771e9
parent132067808b2810040d870a6edc317c0b26f2ccf0
[AdgPath] Added adg_path_reflect() API

New function to reflect the first segment of an AdgPath around an
arbitrary axis, joining the resulting segment to the original one. It is
quite useful when drawing turned parts, always symmetric respect the
turning axis.

Improved error management by adding the G_STRLOC field and localizing
the message with the _() macro.
adg/adg-path-private.h
adg/adg-path.c
adg/adg-path.h