Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24687 → Rev 24685

/trunk/Scribus/scribus/third_party/lib2geom/path.h
251,15 → 251,14
 
D2<SBasis> toSBasis() const {return inner.toSBasis(); }
 
// #16605: does not seem used at triggers build error with clang 12.0.1
//protected:
// BezierCurve(Point c[]) {
// Coord x[order+1], y[order+1];
// for(unsigned i = 0; i <= order; i++) {
// x[i] = c[i][X]; y[i] = c[i][Y];
// }
// inner = Bezier(x, y);
// }
protected:
BezierCurve(Point c[]) {
Coord x[order+1], y[order+1];
for(unsigned i = 0; i <= order; i++) {
x[i] = c[i][X]; y[i] = c[i][Y];
}
inner = Bezier(x, y);
}
};
 
// BezierCurve<0> is meaningless; specialize it out