69
68
Section(CurveIx cix, double fd, double td, Point fdp, Point tdp) : curve(cix), f(fd), t(td), fp(fdp), tp(tdp) { }
70
69
Section(CurveIx cix, double fd, double td, PathVector ps, Dim2 d) : curve(cix), f(fd), t(td) {
71
70
fp = curve.get(ps).pointAt(f), tp = curve.get(ps).pointAt(t);
73
72
//swap from and to, since tp is left or above fp
78
78
Rect bbox() const { return Rect(fp, tp); }