[AdgSegment] Added adg_segment_deep_copy()
commit899d28f83738f9471f00c1a0b5ac10abf6b54db8
authorNicola Fontana <ntd@entidi.it>
Sat, 29 Aug 2009 01:05:55 +0000 (29 03:05 +0200)
committerNicola Fontana <ntd@entidi.it>
Sat, 29 Aug 2009 01:05:55 +0000 (29 03:05 +0200)
tree11484743e5b753c5f11c497a308f53a7acdedae3
parent58a6e807a45a1f488bdad00a3edb3f03d35f54ee
[AdgSegment] Added adg_segment_deep_copy()

A new API to do a deep copy of a segment, that is copying the cairo data
instead of the bare struct. The destination segment should be compatible
with the original one, that is their num_data must be equals.
adg/adg-segment.c
adg/adg-segment.h