[CpmlSegment] Updated to include the new arc primitive
commit9ed3f7c0044337679a33332407b0ba573825753d
authorNicola Fontana <ntd@entidi.it>
Sat, 13 Jun 2009 23:49:23 +0000 (14 01:49 +0200)
committerNicola Fontana <ntd@entidi.it>
Sat, 13 Jun 2009 23:49:23 +0000 (14 01:49 +0200)
tree2494f85da0a9ce375036f96c378833cc5e314a64
parentf69317b07ce3d6686cce4e7b4bda8ac0af5afc33
[CpmlSegment] Updated to include the new arc primitive

Changed cpml_segment_to_cairo() to avoid a plain cairo_append_path().
The new implementation adopted a more high level approach, using
the primitive browsing API provided by CpmlPrimitive and renders
the primitives throught cpml_primitive_to_cairo() (that has yet
been updated to support arcs).
cpml/cpml-segment.c