From: Nathan H. <nj...@nj...> - 2012-09-04 19:46:13
|
On Tue, Sep 04, 2012 at 12:14:05PM -0700, mathog wrote: > How in 2geom does one do (pseudocode) > > Geom::Path P; //contains a path already, lines and/or Beziers > > Geom::Point from=P.begin(); > subpath = make_sub_path(P,from,start,end,&trunc); I think you want the portion method. perhaps portion(max(0,s), min(1,e)) for the clipping. njh |