From 4f0165ebdaf2a07079d6b9f166a585fd89e8b064 Mon Sep 17 00:00:00 2001 From: Peter Moulder Date: Tue, 7 Apr 2009 06:32:25 +0000 Subject: noop: Set svn:eol-style to native on all .cpp and .h files under src. (find \( -name '*.cpp' -o -name '*.h' \) -print0 | xargs -0 svn propset svn:eol-style native) (bzr r7649) --- src/helper/geom-curves.h | 78 ++++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 39 deletions(-) (limited to 'src/helper') diff --git a/src/helper/geom-curves.h b/src/helper/geom-curves.h index daf208e78..f3dc364f2 100644 --- a/src/helper/geom-curves.h +++ b/src/helper/geom-curves.h @@ -1,39 +1,39 @@ -#ifndef INKSCAPE_HELPER_GEOM_CURVES_H -#define INKSCAPE_HELPER_GEOM_CURVES_H - -/** - * Specific curve type functions for Inkscape, not provided by lib2geom. - * - * Author: - * Johan Engelen - * - * Copyright (C) 2008 Johan Engelen - * - * Released under GNU GPL - */ - -#include <2geom/hvlinesegment.h> - -inline bool is_straight_curve(Geom::Curve const & c) { - if( dynamic_cast(&c) || - dynamic_cast(&c) || - dynamic_cast(&c) ) - { - return true; - } else { - return false; - } -} - -#endif // INKSCAPE_HELPER_GEOM_CURVES_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 : +#ifndef INKSCAPE_HELPER_GEOM_CURVES_H +#define INKSCAPE_HELPER_GEOM_CURVES_H + +/** + * Specific curve type functions for Inkscape, not provided by lib2geom. + * + * Author: + * Johan Engelen + * + * Copyright (C) 2008 Johan Engelen + * + * Released under GNU GPL + */ + +#include <2geom/hvlinesegment.h> + +inline bool is_straight_curve(Geom::Curve const & c) { + if( dynamic_cast(&c) || + dynamic_cast(&c) || + dynamic_cast(&c) ) + { + return true; + } else { + return false; + } +} + +#endif // INKSCAPE_HELPER_GEOM_CURVES_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 : -- cgit v1.2.3