summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/2geom/angle.h12
-rw-r--r--src/2geom/bezier.h1
-rw-r--r--src/2geom/choose.h11
-rw-r--r--src/2geom/circle-circle.cpp10
-rw-r--r--src/2geom/circulator.h6
-rw-r--r--src/2geom/concepts.h11
-rw-r--r--src/2geom/conjugate_gradient.cpp3
-rw-r--r--src/2geom/conjugate_gradient.h11
-rw-r--r--src/2geom/convex-cover.cpp7
-rw-r--r--src/2geom/convex-cover.h6
-rw-r--r--src/2geom/crossing.cpp11
-rw-r--r--src/2geom/d2-sbasis.cpp14
-rw-r--r--src/2geom/d2-sbasis.h12
-rw-r--r--src/2geom/exception.h12
-rw-r--r--src/2geom/geom.h11
-rw-r--r--src/2geom/interval.h11
-rw-r--r--src/2geom/isnan.h11
-rw-r--r--src/2geom/linear.h11
-rw-r--r--src/2geom/ord.h11
-rw-r--r--src/2geom/path-intersection.cpp11
-rw-r--r--src/2geom/path-intersection.h11
-rw-r--r--src/2geom/path.cpp5
-rw-r--r--src/2geom/path.h5
-rw-r--r--src/2geom/poly-dk-solve.h11
-rw-r--r--src/2geom/poly-laguerre-solve.h11
-rw-r--r--src/2geom/quadtree.cpp6
-rw-r--r--src/2geom/quadtree.h6
-rw-r--r--src/2geom/region.cpp11
-rw-r--r--src/2geom/region.h11
-rw-r--r--src/2geom/sbasis-2d.cpp11
-rw-r--r--src/2geom/sbasis-geometric.h1
-rw-r--r--src/2geom/sbasis-math.cpp2
-rw-r--r--src/2geom/sbasis-math.h3
-rw-r--r--src/2geom/sbasis-to-bezier.h11
-rw-r--r--src/2geom/shape.cpp11
-rw-r--r--src/2geom/shape.h11
-rw-r--r--src/2geom/solve-bezier-one-d.cpp6
-rw-r--r--src/2geom/solve-bezier-parametric.cpp6
-rw-r--r--src/2geom/solver.h11
-rw-r--r--src/2geom/sweep.cpp11
-rw-r--r--src/2geom/sweep.h11
-rw-r--r--src/2geom/transforms.cpp11
-rw-r--r--src/2geom/utils.h11
43 files changed, 347 insertions, 40 deletions
diff --git a/src/2geom/angle.h b/src/2geom/angle.h
index 79e12c954..c6a367d8f 100644
--- a/src/2geom/angle.h
+++ b/src/2geom/angle.h
@@ -48,3 +48,15 @@ inline double rad_to_deg(double rad) { return rad*180.0/M_PI;}
}
#endif
+
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/bezier.h b/src/2geom/bezier.h
index af6df0840..9b7d8fb17 100644
--- a/src/2geom/bezier.h
+++ b/src/2geom/bezier.h
@@ -306,6 +306,7 @@ inline std::ostream &operator<< (std::ostream &out_file, const Bezier & b) {
}
#endif //SEEN_BEZIER_H
+
/*
Local Variables:
mode:c++
diff --git a/src/2geom/choose.h b/src/2geom/choose.h
index 169d77c79..46c5b2fb4 100644
--- a/src/2geom/choose.h
+++ b/src/2geom/choose.h
@@ -65,3 +65,14 @@ T choose(unsigned n, unsigned k) {
}
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/circle-circle.cpp b/src/2geom/circle-circle.cpp
index 262f8879a..024864091 100644
--- a/src/2geom/circle-circle.cpp
+++ b/src/2geom/circle-circle.cpp
@@ -129,3 +129,13 @@ int main(void)
}
#endif
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/circulator.h b/src/2geom/circulator.h
index 512aac39f..65d337e82 100644
--- a/src/2geom/circulator.h
+++ b/src/2geom/circulator.h
@@ -139,11 +139,9 @@ Geom::Circulator<T> operator+(int n, Geom::Circulator<T> const &c) {
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(substatement-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
- c-brace-offset:0
fill-column:99
End:
- vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
*/
-
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/concepts.h b/src/2geom/concepts.h
index 50cef4e4b..ba4522274 100644
--- a/src/2geom/concepts.h
+++ b/src/2geom/concepts.h
@@ -150,3 +150,14 @@ struct MultiplicableConcept {
};
#endif //SEEN_CONCEPTS_H
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/conjugate_gradient.cpp b/src/2geom/conjugate_gradient.cpp
index 220cd06d0..b98bb314c 100644
--- a/src/2geom/conjugate_gradient.cpp
+++ b/src/2geom/conjugate_gradient.cpp
@@ -122,6 +122,7 @@ conjugate_gradient(valarray<double> const &A,
//std::max(-r.min(), r.max()), sqrt(r_r));
// x is solution
}
+
/*
Local Variables:
mode:c++
@@ -131,4 +132,4 @@ conjugate_gradient(valarray<double> const &A,
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/conjugate_gradient.h b/src/2geom/conjugate_gradient.h
index 2090aecd2..2d6050fd3 100644
--- a/src/2geom/conjugate_gradient.h
+++ b/src/2geom/conjugate_gradient.h
@@ -44,3 +44,14 @@ conjugate_gradient(std::valarray<double> const &A,
unsigned n, double tol,
unsigned max_iterations, bool ortho1);
#endif // _CONJUGATE_GRADIENT_H
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/convex-cover.cpp b/src/2geom/convex-cover.cpp
index 1c704e0ed..2d11b7419 100644
--- a/src/2geom/convex-cover.cpp
+++ b/src/2geom/convex-cover.cpp
@@ -438,12 +438,9 @@ ConvexHull graham_merge(ConvexHull a, ConvexHull b) {
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(substatement-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
- c-brace-offset:0
fill-column:99
End:
- vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
*/
-
-
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/convex-cover.h b/src/2geom/convex-cover.h
index 5c1f33ff6..d99e07b95 100644
--- a/src/2geom/convex-cover.h
+++ b/src/2geom/convex-cover.h
@@ -164,11 +164,9 @@ public:
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(substatement-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
- c-brace-offset:0
fill-column:99
End:
- vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
*/
-
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/crossing.cpp b/src/2geom/crossing.cpp
index a8add1877..880b99e1a 100644
--- a/src/2geom/crossing.cpp
+++ b/src/2geom/crossing.cpp
@@ -190,3 +190,14 @@ void clean(Crossings &cr_a, Crossings &cr_b) {
}
}
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/d2-sbasis.cpp b/src/2geom/d2-sbasis.cpp
index dbf4da10e..9b6ca269c 100644
--- a/src/2geom/d2-sbasis.cpp
+++ b/src/2geom/d2-sbasis.cpp
@@ -141,7 +141,7 @@ split_at_discontinuities (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwsbi
piece.cuts.push_back(pwsbin.cuts[piece_start]);
for (unsigned j = piece_start; j<i+1; j++){
piece.segs.push_back(pwsbin.segs[j]);
- piece.cuts.push_back(pwsbin.cuts[j+1]);
+ piece.cuts.push_back(pwsbin.cuts[j+1]);
}
ret.push_back(piece);
piece_start = i+1;
@@ -151,3 +151,15 @@ split_at_discontinuities (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwsbi
}
} // namespace Geom
+
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/d2-sbasis.h b/src/2geom/d2-sbasis.h
index c1f0faf4d..e921896f5 100644
--- a/src/2geom/d2-sbasis.h
+++ b/src/2geom/d2-sbasis.h
@@ -89,3 +89,15 @@ inline Rect bounds_local(D2<SBasis> const & s, Interval i, unsigned order=0) {
#endif
#endif
+
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/exception.h b/src/2geom/exception.h
index 920cd5808..88ecfc51b 100644
--- a/src/2geom/exception.h
+++ b/src/2geom/exception.h
@@ -114,3 +114,15 @@ struct SVGPathParseError : public std::exception {
} // namespace Geom
#endif
+
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/geom.h b/src/2geom/geom.h
index f25e43c49..7a5a8141b 100644
--- a/src/2geom/geom.h
+++ b/src/2geom/geom.h
@@ -74,3 +74,14 @@ int centroid(std::vector<Geom::Point> p, Geom::Point& centroid, double &area);
}
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/interval.h b/src/2geom/interval.h
index 19e08978c..c9e6703f5 100644
--- a/src/2geom/interval.h
+++ b/src/2geom/interval.h
@@ -217,3 +217,14 @@ inline boost::optional<Interval> intersect(const Interval & a, const Interval &
}
#endif //SEEN_INTERVAL_H
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/isnan.h b/src/2geom/isnan.h
index 52085a25f..5b068e606 100644
--- a/src/2geom/isnan.h
+++ b/src/2geom/isnan.h
@@ -59,3 +59,14 @@
#endif /* __ISNAN_H__ */
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/linear.h b/src/2geom/linear.h
index 32716b9d1..0778039d3 100644
--- a/src/2geom/linear.h
+++ b/src/2geom/linear.h
@@ -171,3 +171,14 @@ inline Linear operator/=(Linear & a, double b) {
};
#endif //SEEN_LINEAR_H
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/ord.h b/src/2geom/ord.h
index 735de6a3a..ec5bc650c 100644
--- a/src/2geom/ord.h
+++ b/src/2geom/ord.h
@@ -35,3 +35,14 @@ inline Cmp cmp(T1 const &a, T2 const &b) {
}
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/path-intersection.cpp b/src/2geom/path-intersection.cpp
index 9a4d65f72..2c32c3764 100644
--- a/src/2geom/path-intersection.cpp
+++ b/src/2geom/path-intersection.cpp
@@ -595,3 +595,14 @@ CrossingSet crossings_among(std::vector<Path> const &p) {
}
}
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/path-intersection.h b/src/2geom/path-intersection.h
index 6be04ad33..5cdee5509 100644
--- a/src/2geom/path-intersection.h
+++ b/src/2geom/path-intersection.h
@@ -63,3 +63,14 @@ inline CrossingSet crossings(std::vector<Path> const & a, std::vector<Path> cons
}
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/path.cpp b/src/2geom/path.cpp
index a529c3751..01c1f2b8e 100644
--- a/src/2geom/path.cpp
+++ b/src/2geom/path.cpp
@@ -227,10 +227,9 @@ void Path::check_continuity(Sequence::iterator first_replaced,
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(substatement-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
- c-brace-offset:0
fill-column:99
End:
- vim: filetype=cpp:expandtab:shiftwidth=2:tabstop=8:softtabstop=2 :
*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/path.h b/src/2geom/path.h
index 5eecbff0b..bc0bfa0d8 100644
--- a/src/2geom/path.h
+++ b/src/2geom/path.h
@@ -951,10 +951,9 @@ inline void swap<Geom::Path>(Geom::Path &a, Geom::Path &b)
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(substatement-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
- c-brace-offset:0
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=2:tabstop=8:softtabstop=2 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/poly-dk-solve.h b/src/2geom/poly-dk-solve.h
index 9a4dd360f..f82caf394 100644
--- a/src/2geom/poly-dk-solve.h
+++ b/src/2geom/poly-dk-solve.h
@@ -3,3 +3,14 @@
std::vector<std::complex<double> >
DK(Poly const & ply, const double tol=1e-10);
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/poly-laguerre-solve.h b/src/2geom/poly-laguerre-solve.h
index 86d10098e..c7bfef245 100644
--- a/src/2geom/poly-laguerre-solve.h
+++ b/src/2geom/poly-laguerre-solve.h
@@ -8,3 +8,14 @@ std::vector<double>
laguerre_real_interval(Poly ply,
const double lo, const double hi,
const double tol=1e-10);
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/quadtree.cpp b/src/2geom/quadtree.cpp
index c033b7604..a84a5a7d4 100644
--- a/src/2geom/quadtree.cpp
+++ b/src/2geom/quadtree.cpp
@@ -121,11 +121,9 @@ void QuadTree::erase(Quad *q, int shape) {
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(substatement-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
- c-brace-offset:0
fill-column:99
End:
- vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
*/
-
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/quadtree.h b/src/2geom/quadtree.h
index 62c769c8b..9b5b75e62 100644
--- a/src/2geom/quadtree.h
+++ b/src/2geom/quadtree.h
@@ -31,11 +31,9 @@ public:
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(substatement-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
- c-brace-offset:0
fill-column:99
End:
- vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
*/
-
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/region.cpp b/src/2geom/region.cpp
index 116cc72fd..326173c0c 100644
--- a/src/2geom/region.cpp
+++ b/src/2geom/region.cpp
@@ -32,3 +32,14 @@ unsigned outer_index(Regions const &ps) {
}
}
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/region.h b/src/2geom/region.h
index e7eaa808b..c3b03912f 100644
--- a/src/2geom/region.h
+++ b/src/2geom/region.h
@@ -83,3 +83,14 @@ inline Regions region_boolean(bool rev, Region const & a, Region const & b) {
}
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/sbasis-2d.cpp b/src/2geom/sbasis-2d.cpp
index e271fed13..6efc146eb 100644
--- a/src/2geom/sbasis-2d.cpp
+++ b/src/2geom/sbasis-2d.cpp
@@ -70,3 +70,14 @@ compose_each(D2<SBasis2d> const &fg, D2<SBasis> const &p) {
}
};
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/sbasis-geometric.h b/src/2geom/sbasis-geometric.h
index 49f371512..c4f139aa6 100644
--- a/src/2geom/sbasis-geometric.h
+++ b/src/2geom/sbasis-geometric.h
@@ -80,4 +80,3 @@ unsigned centroid(Piecewise<D2<SBasis> > const &p, Point& centroid, double &area
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
-
diff --git a/src/2geom/sbasis-math.cpp b/src/2geom/sbasis-math.cpp
index 08647959a..b04e15bcc 100644
--- a/src/2geom/sbasis-math.cpp
+++ b/src/2geom/sbasis-math.cpp
@@ -288,4 +288,4 @@ Piecewise<SBasis> reciprocal(Piecewise<SBasis> const &f, double tol, int order){
fill-column:99
End:
*/
-// vim: filetype = cpp:expandtab:shiftwidth = 4:tabstop = 8:softtabstop = 4:encoding = utf-8:textwidth = 99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/sbasis-math.h b/src/2geom/sbasis-math.h
index c20b09885..72428bc96 100644
--- a/src/2geom/sbasis-math.h
+++ b/src/2geom/sbasis-math.h
@@ -83,6 +83,7 @@ Piecewise<SBasis> reciprocal(Piecewise<SBasis>const &f, double tol=1e-3, int ord
}
#endif //SEEN_GEOM_PW_SB_CALCULUS_H
+
/*
Local Variables:
mode:c++
@@ -92,4 +93,4 @@ Piecewise<SBasis> reciprocal(Piecewise<SBasis>const &f, double tol=1e-3, int ord
fill-column:99
End:
*/
-// vim: filetype = cpp:expandtab:shiftwidth = 4:tabstop = 8:softtabstop = 4:encoding = utf-8:textwidth = 99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/sbasis-to-bezier.h b/src/2geom/sbasis-to-bezier.h
index 2c49464f6..b515ebf8b 100644
--- a/src/2geom/sbasis-to-bezier.h
+++ b/src/2geom/sbasis-to-bezier.h
@@ -22,3 +22,14 @@ Path path_from_sbasis(D2<SBasis> const &B, double tol);
};
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/shape.cpp b/src/2geom/shape.cpp
index 70a7d0884..ddc94155c 100644
--- a/src/2geom/shape.cpp
+++ b/src/2geom/shape.cpp
@@ -630,3 +630,14 @@ bool Shape::invariants() const {
}
}
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/shape.h b/src/2geom/shape.h
index b9194537c..4670b326e 100644
--- a/src/2geom/shape.h
+++ b/src/2geom/shape.h
@@ -100,3 +100,14 @@ inline std::vector<Path> desanitize(Shape const & s) {
}
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/solve-bezier-one-d.cpp b/src/2geom/solve-bezier-one-d.cpp
index 4f37cd049..1338faa7c 100644
--- a/src/2geom/solve-bezier-one-d.cpp
+++ b/src/2geom/solve-bezier-one-d.cpp
@@ -187,11 +187,9 @@ Bernstein(double const *V, /* Control pts */
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(substatement-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
- c-brace-offset:0
fill-column:99
End:
- vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
*/
-
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/solve-bezier-parametric.cpp b/src/2geom/solve-bezier-parametric.cpp
index 576ac34ff..fc49dcdb2 100644
--- a/src/2geom/solve-bezier-parametric.cpp
+++ b/src/2geom/solve-bezier-parametric.cpp
@@ -217,11 +217,9 @@ Bezier(Geom::Point const *V, /* Control pts */
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(substatement-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
- c-brace-offset:0
fill-column:99
End:
- vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
*/
-
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
diff --git a/src/2geom/solver.h b/src/2geom/solver.h
index e0d66fc2a..a0a8d95ce 100644
--- a/src/2geom/solver.h
+++ b/src/2geom/solver.h
@@ -31,3 +31,14 @@ find_bernstein_roots(
};
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/sweep.cpp b/src/2geom/sweep.cpp
index b9ef71b5c..f19fd9be9 100644
--- a/src/2geom/sweep.cpp
+++ b/src/2geom/sweep.cpp
@@ -103,3 +103,14 @@ std::vector<std::vector<unsigned> > fake_cull(unsigned a, unsigned b) {
}
}
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/sweep.h b/src/2geom/sweep.h
index 9587cec36..f8553e849 100644
--- a/src/2geom/sweep.h
+++ b/src/2geom/sweep.h
@@ -27,3 +27,14 @@ std::vector<std::vector<unsigned> > fake_cull(unsigned a, unsigned b);
}
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/transforms.cpp b/src/2geom/transforms.cpp
index 8c0164338..2a6918071 100644
--- a/src/2geom/transforms.cpp
+++ b/src/2geom/transforms.cpp
@@ -46,3 +46,14 @@ Matrix operator*(Matrix const &m, Scale const &s) {
}
}
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file
diff --git a/src/2geom/utils.h b/src/2geom/utils.h
index c5c579338..ce69c004f 100644
--- a/src/2geom/utils.h
+++ b/src/2geom/utils.h
@@ -79,3 +79,14 @@ inline double decimal_round(double const x, int const places) {
}
#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : \ No newline at end of file