[CpmlPrimitive] Added cpml_primitive_length()
commit3b18ce2ba3d23788193398bce97fa64563fd888a
authorNicola Fontana <ntd@entidi.it>
Sun, 28 Jun 2009 18:55:41 +0000 (28 20:55 +0200)
committerNicola Fontana <ntd@entidi.it>
Sun, 28 Jun 2009 18:55:41 +0000 (28 20:55 +0200)
tree60df5ceb69d19287f4d7279ed018475665c66589
parent608436e2fffe58ad3e59228ce88ed37fea43ca04
[CpmlPrimitive] Added cpml_primitive_length()

Implemented API to abstract the length computation of a generic
primitive. The CAIRO_PATH_CLOSE_PATH shares the code with the
CAIRO_PATH_LINE_TO primitive, as both are considered straight lines.
cpml/cpml-primitive.c
cpml/cpml-primitive.h