Smrender
 All Data Structures Files Functions Variables Macros
bspline.h
Go to the documentation of this file.
1 /* Copyright 2015 Bernhard R. Fischer, 2048R/5C5FFD47 <bf@abenteuerland.at>
2  *
3  * This file is part of Smrender.
4  *
5  * Smrender is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, version 3 of the License.
8  *
9  * Smrender is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Smrender. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
27 #ifdef HAVE_CONFIG_H
28 #include "config.h"
29 #endif
30 
31 #ifndef BSPLINE_H
32 #define BSPLINE_H
33 
34 #include <cairo.h>
35 
36 
37 typedef struct point
38 {
39  double x, y;
40 } point_t;
41 
42 typedef struct line
43 {
44  point_t A, B;
45 } line_t;
46 
47 
48 void control_points(const line_t *, const line_t *, point_t *, point_t *, double f);
49 
50 #endif
51 
Definition: bspline.h:42
Definition: bspline.h:37
void control_points(const line_t *, const line_t *, point_t *, point_t *, double f)
Definition: bspline_ctrl.c:65