summaryrefslogtreecommitdiffstats
path: root/src/libnr
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2008-02-25 05:29:06 +0000
committerjoncruz <joncruz@users.sourceforge.net>2008-02-25 05:29:06 +0000
commit65643d58d14380cbbbd24b5a0fec93a991f1bb92 (patch)
treed2f92224223e77940da2ce0603c3c021eeef47e0 /src/libnr
parentsvg element referenced by id part of feImage filter rendering. (diff)
downloadinkscape-65643d58d14380cbbbd24b5a0fec93a991f1bb92.tar.gz
inkscape-65643d58d14380cbbbd24b5a0fec93a991f1bb92.zip
Line-end fix
(bzr r4845)
Diffstat (limited to 'src/libnr')
-rw-r--r--src/libnr/nr-convert2geom.h76
1 files changed, 38 insertions, 38 deletions
diff --git a/src/libnr/nr-convert2geom.h b/src/libnr/nr-convert2geom.h
index c9ae68bd1..7741e7782 100644
--- a/src/libnr/nr-convert2geom.h
+++ b/src/libnr/nr-convert2geom.h
@@ -1,38 +1,38 @@
-#ifndef INKSCAPE_LIBNR_CONVERT2GEOM_H
-#define INKSCAPE_LIBNR_CONVERT2GEOM_H
-
-/*
- * Converts between NR and 2Geom types.
- *
-* Copyright (C) Johan Engelen 2008 <j.b.c.engelen@utwente.nl>
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-
-#include <2geom/matrix.h>
-#include <libnr/nr-matrix.h>
-#include <2geom/d2.h>
-#include <libnr/nr-rect.h>
-
-inline Geom::Matrix to_2geom(NR::Matrix const & mat) {
- Geom::Matrix mat2geom(mat[0], mat[1], mat[2], mat[3], mat[4], mat[5]);
- return mat2geom;
-}
-
-inline NR::Rect from_2geom(Geom::Rect const & rect2geom) {
- NR::Rect rect(rect2geom.min(), rect2geom.max());
- return rect;
-}
-
-#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 :
+#ifndef INKSCAPE_LIBNR_CONVERT2GEOM_H
+#define INKSCAPE_LIBNR_CONVERT2GEOM_H
+
+/*
+ * Converts between NR and 2Geom types.
+ *
+* Copyright (C) Johan Engelen 2008 <j.b.c.engelen@utwente.nl>
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include <2geom/matrix.h>
+#include <libnr/nr-matrix.h>
+#include <2geom/d2.h>
+#include <libnr/nr-rect.h>
+
+inline Geom::Matrix to_2geom(NR::Matrix const & mat) {
+ Geom::Matrix mat2geom(mat[0], mat[1], mat[2], mat[3], mat[4], mat[5]);
+ return mat2geom;
+}
+
+inline NR::Rect from_2geom(Geom::Rect const & rect2geom) {
+ NR::Rect rect(rect2geom.min(), rect2geom.max());
+ return rect;
+}
+
+#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 :