[CpmlSegment] Initial implementation of cpml_segment_offset()
commitf3197cbe552362bb0483d87014e3acdf59a8da2d
authorNicola Fontana <ntd@entidi.it>
Tue, 3 Feb 2009 22:52:56 +0000 (3 23:52 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 3 Feb 2009 22:52:56 +0000 (3 23:52 +0100)
treed742e84e0c9ff6a44b39be05f7aca3693ab70dfa
parent222879ada2e127fd4e6ae0f3d4fc439a8c296cff
[CpmlSegment] Initial implementation of cpml_segment_offset()

The offset API is the fundamental base for a lot of CADG operations.
This first (rough) implementation works for lines but not for curves:
the control points need to be arranged. Now they are left untouched
as I did not found a decent way to approximate the cubic Bézier curve.
cpml/cpml-segment.c
cpml/cpml-segment.h