[AdgPath] Removed adg_path_dup_cpml_path()
commitf6c9544d46c89023d278d40ac0a7c167ebe4a5b8
authorNicola Fontana <ntd@entidi.it>
Sat, 4 Jul 2009 13:04:51 +0000 (4 15:04 +0200)
committerNicola Fontana <ntd@entidi.it>
Sat, 4 Jul 2009 13:04:51 +0000 (4 15:04 +0200)
treebf9d5834fa974ab477e82d06f6e28e59ad81e9c6
parent913d3cc808150e0bc4aec94b56f4d33015fece8a
[AdgPath] Removed adg_path_dup_cpml_path()

A similar result could be obtained by using the new
adg_segment_deep_dup() API on the unobtrusive segment got from
the cpml path, for instance:

AdgSegment segment_org;
AdgSegment *segment;

cpml_segment_from_cairo(&segment_org, adg_path_get_cpml_path(path));
segment = adg_segment_deep_dup(&segment_org);
/* Process the new segment without modifying the original path */
g_free(segment);
adg/adg-path.c
adg/adg-path.h