[CpmlPrimitive] Using the class name in cpml_primitive_dump()
commit61fc779eac194f9dfdfea45be35014d6112ccd83
authorNicola Fontana <ntd@entidi.it>
Sat, 13 Feb 2010 20:37:18 +0000 (13 21:37 +0100)
committerNicola Fontana <ntd@entidi.it>
Sat, 13 Feb 2010 20:37:18 +0000 (13 21:37 +0100)
tree34c7c0c337d2dcefd5de976995b15694f34126aa
parent478886b89ca408853c8f2e66ad5a7e5fd0a55291
[CpmlPrimitive] Using the class name in cpml_primitive_dump()

Removed the hardcoded switch and used the name field defined by the
primitive types themselves.
cpml/cpml-arc.c
cpml/cpml-curve.c
cpml/cpml-line.c
cpml/cpml-primitive.c