[CPML] Implement get_npoints() as a virtual method
commit9719d7aa4f2d3c72461477e90ef5346607ce3188
authorNicola Fontana <ntd@entidi.it>
Fri, 12 Feb 2010 13:51:46 +0000 (12 14:51 +0100)
committerNicola Fontana <ntd@entidi.it>
Fri, 12 Feb 2010 17:17:55 +0000 (12 18:17 +0100)
treee9a3456f2d6e980fe8b5be85ced2131e10ca9daf
parent6bf649e4e55ed34a650da02d94838810f8c4d086
[CPML] Implement get_npoints() as a virtual method

Allocated an empty class for every primitive and populated with the name
and n_points fields. Get rid of the cpml_..._get_npoints() API and
implemented them inside cpml_primitive_get_npoints().
cpml/cpml-arc.c
cpml/cpml-arc.h
cpml/cpml-close.c
cpml/cpml-close.h
cpml/cpml-curve.c
cpml/cpml-curve.h
cpml/cpml-internal.h
cpml/cpml-line.c
cpml/cpml-line.h
cpml/cpml-primitive-private.h
cpml/cpml-primitive.c