[CpmlPrimitive] Substituted _get_point() with _{set,put}_point()
commit6184396a0db8733dabe95343c390a06baf9c73b8
authorNicola Fontana <ntd@entidi.it>
Fri, 8 Apr 2011 17:06:31 +0000 (8 19:06 +0200)
committerNicola Fontana <ntd@entidi.it>
Fri, 8 Apr 2011 17:06:31 +0000 (8 19:06 +0200)
tree4140f12df37ccbc53e5edeb72e5a52487d2a4508
parent1014bc489028c2ca6eb3181489fc0ca9893754c8
[CpmlPrimitive] Substituted _get_point() with _{set,put}_point()

The old cpml_primitive_get_point() API is not binding friendly because
exposes a C pointer to internal data. Substituted this API with
cpml_primitive_set_point(), to set a specific point using a CpmlPair,
and cpml_primitive_put_point(), to store the point coordinates in a
CpmlPair.
demo/adg-demo.c
src/adg/adg-path.c
src/cpml/cpml-arc.c
src/cpml/cpml-curve.c
src/cpml/cpml-line.c
src/cpml/cpml-pair.c
src/cpml/cpml-primitive.c
src/cpml/cpml-primitive.h
src/cpml/cpml-segment.c
src/cpml/tests/test-primitive.c