Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gegl
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
93
Issues
93
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gegl
Commits
93992f3c
Commit
93992f3c
authored
Oct 05, 2013
by
Marek Dvoroznak
Committed by
Mikael Magnusson
Feb 27, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libs: npd: change of a licence from GPL to LGPL
parent
9c881d04
Changes
13
Hide whitespace changes
Inline
Sidebyside
Showing
13 changed files
with
176 additions
and
150 deletions
+176
150
deformation.c
libs/npd/deformation.c
+13
11
deformation.h
libs/npd/deformation.h
+14
12
graphics.c
libs/npd/graphics.c
+13
11
graphics.h
libs/npd/graphics.h
+14
12
npd.h
libs/npd/npd.h
+13
11
npd_common.c
libs/npd/npd_common.c
+14
12
npd_common.h
libs/npd/npd_common.h
+14
12
npd_gegl.c
libs/npd/npd_gegl.c
+13
11
npd_gegl.h
libs/npd/npd_gegl.h
+14
12
npd_math.c
libs/npd/npd_math.c
+14
12
npd_math.h
libs/npd/npd_math.h
+13
11
refine.c
libs/npd/refine.c
+14
12
refine.h
libs/npd/refine.h
+13
11
No files found.
libs/npd/deformation.c
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
libs/npd/deformation.h
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
@@ 43,4 +45,4 @@ void npd_deform_model (NPDModel *model,
void
npd_deform_model_once
(
NPDModel
*
model
);
void
npd_deform_hidden_model_once
(
NPDHiddenModel
*
hidden_model
);
#endif
/* __NPD_DEFORMATION_H__ */
\ No newline at end of file
#endif
/* __NPD_DEFORMATION_H__ */
libs/npd/graphics.c
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
libs/npd/graphics.h
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
@@ 123,4 +125,4 @@ gboolean npd_is_color_transparent (NPDColor *color);
gboolean
npd_init_display
(
NPDDisplay
*
display
);
void
npd_destroy_display
(
NPDDisplay
*
display
);
#endif
/*__NPD_GRAPHICS_H__ */
\ No newline at end of file
#endif
/*__NPD_GRAPHICS_H__ */
libs/npd/npd.h
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
libs/npd/npd_common.c
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
@@ 561,4 +563,4 @@ npd_print_overlapping_points (NPDOverlappingPoints *op)
{
npd_print_point
(
op
>
points
[
i
],
TRUE
);
}
}
\ No newline at end of file
}
libs/npd/npd_common.h
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
@@ 145,4 +147,4 @@ void npd_print_bone (NPDBone *bone);
void
npd_print_point
(
NPDPoint
*
point
,
gboolean
print_details
);
void
npd_print_overlapping_points
(
NPDOverlappingPoints
*
op
);
#endif
/* __NPD_COMMON_H__ */
\ No newline at end of file
#endif
/* __NPD_COMMON_H__ */
libs/npd/npd_gegl.c
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
libs/npd/npd_gegl.h
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
@@ 28,4 +30,4 @@ struct _NPDMatrix
GeglMatrix3
matrix
;
};
#endif
/* __NPD_GEGL_H__ */
\ No newline at end of file
#endif
/* __NPD_GEGL_H__ */
libs/npd/npd_math.c
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
@@ 42,4 +44,4 @@ npd_SED (NPDPoint *p1,
gint
dx
=
p1
>
x

p2
>
x
;
gint
dy
=
p1
>
y

p2
>
y
;
return
dx
*
dx
+
dy
*
dy
;
}
\ No newline at end of file
}
libs/npd/npd_math.h
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
libs/npd/refine.c
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
@@ 417,4 +419,4 @@ npd_cut_edges (NPDHiddenModel *hm,
}
}
}*/
}
\ No newline at end of file
}
libs/npd/refine.h
View file @
93992f3c
/*
* This file is part of
n
point image deformation library.
* This file is part of
N
point image deformation library.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
* Npoint image deformation library is free software: you can
* redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
*
This program is distributed in the hope that it will be useful,
*
but WITHOUT ANY WARRANTY; without even the implied warranty of
*
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
GNU
General Public License for more details.
*
Npoint image deformation library is distributed in the hope
*
that it will be useful, but WITHOUT ANY WARRANTY; without even
*
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
*
PURPOSE. See the GNU Lesser
General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* You should have received a copy of the GNU Lesser General Public
* License along with Npoint image deformation library.
* If not, see <http://www.gnu.org/licenses/>.
*
* Copyright (C) 2013 Marek Dvoroznak <dvoromar@gmail.com>
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment