[CPML] Separated CpmlPrimitiveType from cairo_path_data_type_t
commitc0ff8320ae36408f389f9714ffd9bde53b1a63b3
authorNicola Fontana <ntd@entidi.it>
Tue, 4 May 2010 20:26:04 +0000 (4 22:26 +0200)
committerNicola Fontana <ntd@entidi.it>
Tue, 4 May 2010 20:26:04 +0000 (4 22:26 +0200)
treeab9fbb0b8d19c1387a4769bd6205d4944b7d3ebb
parentc165bbf5fee3bf1bb832be8a3e53e956ed0eae32
[CPML] Separated CpmlPrimitiveType from cairo_path_data_type_t

Using two different enums instead of aliasing CpmlPrimitiveType to
cairo_path_data_type_t. This will raise a useful warning whenever a cast
is required, removing in the meantime the warning from switches that use
CPML_ARC (not defined in cairo_path_data_type).
16 files changed:
docs/cpml/cpml-docs.xml
src/adg/adg-path.c
src/adg/adg-path.h
src/adg/adg-trail.c
src/cpml.h
src/cpml/Makefile.am
src/cpml/cpml-arc.c
src/cpml/cpml-arc.h
src/cpml/cpml-close.h [deleted file]
src/cpml/cpml-curve.c
src/cpml/cpml-curve.h
src/cpml/cpml-line.c
src/cpml/cpml-line.h [deleted file]
src/cpml/cpml-primitive.c
src/cpml/cpml-primitive.h
src/cpml/cpml-segment.c