diff options
Diffstat (limited to 'src/livarot')
35 files changed, 295 insertions, 98 deletions
diff --git a/src/livarot/AVL.cpp b/src/livarot/AVL.cpp index 8c36283a6..9bf6eb4c5 100644 --- a/src/livarot/AVL.cpp +++ b/src/livarot/AVL.cpp @@ -1,9 +1,13 @@ -/* - * AVL.cpp - * nlivarot - * - * Created by fred on Mon Jun 16 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "AVL.h" diff --git a/src/livarot/AVL.h b/src/livarot/AVL.h index 741abfaf2..5e0856c16 100644 --- a/src/livarot/AVL.h +++ b/src/livarot/AVL.h @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2014 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ /* * AVL.h * nlivarot diff --git a/src/livarot/AlphaLigne.cpp b/src/livarot/AlphaLigne.cpp index e2265ec8c..7ae72c17e 100644 --- a/src/livarot/AlphaLigne.cpp +++ b/src/livarot/AlphaLigne.cpp @@ -1,10 +1,13 @@ -/* - * AlphaLigne.cpp - * nlivarot - * - * Created by fred on Fri Jul 25 2003. - * public domain +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "AlphaLigne.h" diff --git a/src/livarot/AlphaLigne.h b/src/livarot/AlphaLigne.h index e0eef308a..a192e1cb3 100644 --- a/src/livarot/AlphaLigne.h +++ b/src/livarot/AlphaLigne.h @@ -1,10 +1,13 @@ -/* - * AlphaLigne.h - * nlivarot - * - * Created by fred on Fri Jul 25 2003. - * public domain +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #ifndef my_alpha_ligne diff --git a/src/livarot/BitLigne.cpp b/src/livarot/BitLigne.cpp index 53ab06c1d..2e44359f8 100644 --- a/src/livarot/BitLigne.cpp +++ b/src/livarot/BitLigne.cpp @@ -1,10 +1,13 @@ -/* - * BitLigne.cpp - * nlivarot - * - * Created by fred on Wed Jul 23 2003. - * public domain +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "BitLigne.h" diff --git a/src/livarot/BitLigne.h b/src/livarot/BitLigne.h index 86505c0a7..7a7fcbeb2 100644 --- a/src/livarot/BitLigne.h +++ b/src/livarot/BitLigne.h @@ -1,10 +1,13 @@ -/* - * BitLigne.h - * nlivarot - * - * Created by fred on Wed Jul 23 2003. - * public domain +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #ifndef my_bit_ligne diff --git a/src/livarot/CMakeLists.txt b/src/livarot/CMakeLists.txt index f1b83f30e..185ae8acb 100644 --- a/src/livarot/CMakeLists.txt +++ b/src/livarot/CMakeLists.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-or-later set(livarot_SRC AlphaLigne.cpp diff --git a/src/livarot/Livarot.h b/src/livarot/Livarot.h index 24a702423..80cc6bae7 100644 --- a/src/livarot/Livarot.h +++ b/src/livarot/Livarot.h @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2010 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ /* * Livarot.h * nlivarot diff --git a/src/livarot/LivarotDefs.h b/src/livarot/LivarotDefs.h index 994eff44e..1cabb74f7 100644 --- a/src/livarot/LivarotDefs.h +++ b/src/livarot/LivarotDefs.h @@ -1,9 +1,13 @@ -/* - * LivarotDefs.h - * nlivarot - * - * Created by fred on Tue Jun 17 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #ifndef my_defs diff --git a/src/livarot/Path.cpp b/src/livarot/Path.cpp index 856a369f8..c046a1af1 100644 --- a/src/livarot/Path.cpp +++ b/src/livarot/Path.cpp @@ -1,9 +1,13 @@ -/* - * Path.cpp - * nlivarot - * - * Created by fred on Tue Jun 17 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include <glib.h> diff --git a/src/livarot/Path.h b/src/livarot/Path.h index 32ee71ffc..eced78ec5 100644 --- a/src/livarot/Path.h +++ b/src/livarot/Path.h @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2014 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ /* * Path.h * nlivarot diff --git a/src/livarot/PathConversion.cpp b/src/livarot/PathConversion.cpp index b31cee14a..88a8c5660 100644 --- a/src/livarot/PathConversion.cpp +++ b/src/livarot/PathConversion.cpp @@ -1,9 +1,13 @@ -/* - * PathConversion.cpp - * nlivarot - * - * Created by fred on Mon Nov 03 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include <glib.h> diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp index d99091ade..baf9bd71d 100644 --- a/src/livarot/PathCutting.cpp +++ b/src/livarot/PathCutting.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * PathCutting.cpp * nlivarot @@ -10,7 +11,7 @@ * * Copyright (C) 2005 Richard Hughes * - * Released under GNU GPL, read the file 'COPYING' for more information + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include <cstring> diff --git a/src/livarot/PathOutline.cpp b/src/livarot/PathOutline.cpp index c6d050f01..a1bc7db13 100644 --- a/src/livarot/PathOutline.cpp +++ b/src/livarot/PathOutline.cpp @@ -1,9 +1,11 @@ -/* - * PathOutline.cpp - * nlivarot - * - * Created by fred on Fri Nov 28 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "livarot/Path.h" diff --git a/src/livarot/PathSimplify.cpp b/src/livarot/PathSimplify.cpp index c142aae0a..dd86b5090 100644 --- a/src/livarot/PathSimplify.cpp +++ b/src/livarot/PathSimplify.cpp @@ -1,9 +1,13 @@ -/* - * PathSimplify.cpp - * nlivarot - * - * Created by fred on Fri Dec 12 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include <glib.h> diff --git a/src/livarot/PathStroke.cpp b/src/livarot/PathStroke.cpp index 4b65463dd..e70ce36a8 100644 --- a/src/livarot/PathStroke.cpp +++ b/src/livarot/PathStroke.cpp @@ -1,9 +1,13 @@ -/* - * PathStroke.cpp - * nlivarot - * - * Created by fred on Tue Jun 17 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "Path.h" diff --git a/src/livarot/Shape.cpp b/src/livarot/Shape.cpp index 55ed6f08b..4b287caac 100644 --- a/src/livarot/Shape.cpp +++ b/src/livarot/Shape.cpp @@ -1,9 +1,13 @@ -/* - * Shape.cpp - * nlivarot - * - * Created by fred on Thu Jun 12 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include <cstdio> diff --git a/src/livarot/Shape.h b/src/livarot/Shape.h index 3c2fdd0a3..e2bc0b99e 100644 --- a/src/livarot/Shape.h +++ b/src/livarot/Shape.h @@ -1,9 +1,11 @@ -/* - * Digraph.h - * nlivarot - * - * Created by fred on Thu Jun 12 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #ifndef my_shape diff --git a/src/livarot/ShapeDraw.cpp b/src/livarot/ShapeDraw.cpp index d222cc49c..79d070bbf 100644 --- a/src/livarot/ShapeDraw.cpp +++ b/src/livarot/ShapeDraw.cpp @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ /* * ShapeDraw.cpp * nlivarot diff --git a/src/livarot/ShapeMisc.cpp b/src/livarot/ShapeMisc.cpp index 63700e1ba..db5c19297 100644 --- a/src/livarot/ShapeMisc.cpp +++ b/src/livarot/ShapeMisc.cpp @@ -1,9 +1,13 @@ -/* - * ShapeMisc.cpp - * nlivarot - * - * Created by fred on Sun Jul 20 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "livarot/Shape.h" diff --git a/src/livarot/ShapeRaster.cpp b/src/livarot/ShapeRaster.cpp index 4588fb722..292b0a7f1 100644 --- a/src/livarot/ShapeRaster.cpp +++ b/src/livarot/ShapeRaster.cpp @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ /* * ShapeRaster.cpp * nlivarot diff --git a/src/livarot/ShapeSweep.cpp b/src/livarot/ShapeSweep.cpp index e5ebb9099..df78195cc 100644 --- a/src/livarot/ShapeSweep.cpp +++ b/src/livarot/ShapeSweep.cpp @@ -1,9 +1,13 @@ -/* - * ShapeSweep.cpp - * nlivarot - * - * Created by fred on Thu Jun 19 2003. +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: + * see git history + * Fred * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include <cstdio> diff --git a/src/livarot/float-line.cpp b/src/livarot/float-line.cpp index b0b36cf52..6a5e4f931 100644 --- a/src/livarot/float-line.cpp +++ b/src/livarot/float-line.cpp @@ -1,12 +1,13 @@ -/** - * \file livarot/float-line.cpp - * +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file * Implementation of coverage with floating-point values. + *//* + * Authors: + * see git history + * Fred * - * \author Fred - * - * public domain - * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #ifdef faster_flatten diff --git a/src/livarot/float-line.h b/src/livarot/float-line.h index 2359db95c..8d7faf13d 100644 --- a/src/livarot/float-line.h +++ b/src/livarot/float-line.h @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2010 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ #ifndef INKSCAPE_LIVAROT_FLOAT_LINE_H #define INKSCAPE_LIVAROT_FLOAT_LINE_H diff --git a/src/livarot/int-line.cpp b/src/livarot/int-line.cpp index ff9e26790..c37e28cfd 100644 --- a/src/livarot/int-line.cpp +++ b/src/livarot/int-line.cpp @@ -1,12 +1,13 @@ -/** - * \file livarot/int-line.cpp - * +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file * Implementation of coverage with integer boundaries. + *//* + * Authors: + * see git history + * Fred * - * \author Fred - * - * public domain - * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include <glib.h> diff --git a/src/livarot/int-line.h b/src/livarot/int-line.h index 0a52d4639..576cfcff9 100644 --- a/src/livarot/int-line.h +++ b/src/livarot/int-line.h @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ #ifndef INKSCAPE_LIVAROT_INT_LINE_H #define INKSCAPE_LIVAROT_INT_LINE_H diff --git a/src/livarot/path-description.cpp b/src/livarot/path-description.cpp index c34965a5c..ecf50cac7 100644 --- a/src/livarot/path-description.cpp +++ b/src/livarot/path-description.cpp @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2011 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ #include "livarot/path-description.h" #include <2geom/affine.h> diff --git a/src/livarot/path-description.h b/src/livarot/path-description.h index 5ded5167e..dd957ec38 100644 --- a/src/livarot/path-description.h +++ b/src/livarot/path-description.h @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ #ifndef SEEN_INKSCAPE_LIVAROT_PATH_DESCRIPTION_H #define SEEN_INKSCAPE_LIVAROT_PATH_DESCRIPTION_H diff --git a/src/livarot/sweep-event-queue.h b/src/livarot/sweep-event-queue.h index 28bec9065..759727a5e 100644 --- a/src/livarot/sweep-event-queue.h +++ b/src/livarot/sweep-event-queue.h @@ -1,8 +1,14 @@ -#ifndef SEEN_LIVAROT_SWEEP_EVENT_QUEUE_H -#define SEEN_LIVAROT_SWEEP_EVENT_QUEUE_H -/** \file +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file * A container of intersection events. + *//* + * Authors: see git history + * + * Copyright (C) 2010 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ +#ifndef SEEN_LIVAROT_SWEEP_EVENT_QUEUE_H +#define SEEN_LIVAROT_SWEEP_EVENT_QUEUE_H #include <2geom/forward.h> class SweepEvent; diff --git a/src/livarot/sweep-event.cpp b/src/livarot/sweep-event.cpp index 6b6e8f835..db08bb2fa 100644 --- a/src/livarot/sweep-event.cpp +++ b/src/livarot/sweep-event.cpp @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ #include <glib.h> #include "livarot/sweep-event-queue.h" #include "livarot/sweep-tree.h" diff --git a/src/livarot/sweep-event.h b/src/livarot/sweep-event.h index d2e8909ee..492c4e84b 100644 --- a/src/livarot/sweep-event.h +++ b/src/livarot/sweep-event.h @@ -1,6 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ #ifndef INKSCAPE_LIVAROT_SWEEP_EVENT_H #define INKSCAPE_LIVAROT_SWEEP_EVENT_H -/** \file +/** \file * Intersection events. */ diff --git a/src/livarot/sweep-tree-list.cpp b/src/livarot/sweep-tree-list.cpp index 020a4e110..97640fd86 100644 --- a/src/livarot/sweep-tree-list.cpp +++ b/src/livarot/sweep-tree-list.cpp @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ #include <glib.h> #include "livarot/sweep-tree.h" #include "livarot/sweep-tree-list.h" diff --git a/src/livarot/sweep-tree-list.h b/src/livarot/sweep-tree-list.h index 7ae7b1ab4..84939c477 100644 --- a/src/livarot/sweep-tree-list.h +++ b/src/livarot/sweep-tree-list.h @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2010 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ /** @file * @brief SweepTreeList definition */ diff --git a/src/livarot/sweep-tree.cpp b/src/livarot/sweep-tree.cpp index 6aec2a7f6..dc350c4da 100644 --- a/src/livarot/sweep-tree.cpp +++ b/src/livarot/sweep-tree.cpp @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ #include "livarot/sweep-event-queue.h" #include "livarot/sweep-tree-list.h" #include "livarot/sweep-tree.h" diff --git a/src/livarot/sweep-tree.h b/src/livarot/sweep-tree.h index 319763809..13e1f76fc 100644 --- a/src/livarot/sweep-tree.h +++ b/src/livarot/sweep-tree.h @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** @file + * TODO: insert short description here + *//* + * Authors: see git history + * + * Copyright (C) 2018 Authors + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ #ifndef INKSCAPE_LIVAROT_SWEEP_TREE_H #define INKSCAPE_LIVAROT_SWEEP_TREE_H |
