aboutsummaryrefslogtreecommitdiffstats
path: root/rtgrpblib_draw_quadratic_bezier.3
blob: f8e546704f9fc03ffab1f8c03b655afdf9839171 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.TH RTGRPBLIB_DRAW_QUADRATIC_BEZIER 3 LIBRIFUNKTIONSTECKENSNITTSGLYFRASTERISERINGSPROGRAMBIBLIOTEKET
.SH NAME
rtgrpblib_draw_quadratic_bezier - Draw a quadratic Bézier curve

.SH DESCRIPTION
.LP
.nf
#include <librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket.h>

void rtgrpblib_draw_quadratic_bezier(RTGRPBLIB_RASTER *\fIraster\fP,
                                     double \fIx1\fP, double \fIy1\fP,
                                     double \fIx2\fP, double \fIy2\fP,
                                     double \fIx3\fP, double \fIy3\fP);
.fi
.PP
Link with
.IR "-lrifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket -lm" .

.SH DESCRIPTION
The
.BR rtgrpblib_draw_quadratic_bezier ()
function draws onto
.I raster
a quadratic Bézier curve, as part of a contour, from
.RI ( x1 ,
.IR y1 )
to
.RI ( x3 ,
.IR y3 )
with
.RI ( x2 ,
.IR y2 )
as the additional control point.
.PP
The function draws the linear interpolant of corresponding points in
the line segments
.RI ( x1 ,
.IR y1 )-( x2 ,
.IR y2 )
and
.RI ( x2 ,
.IR y2 )-( x3 ,
.IR y3 ).

.SH RETURN VALUES
None.

.SH ERRORS
None.

.SH SEE ALSO
.BR librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket (7),
.BR rtgrpblib_create_raster (3),
.BR rtgrpblib_fill_shapes (3),
.BR rtgrpblib_draw_linear_bezier (3),
.BR rtgrpblib_draw_cubic_bezier (3),
.BR rtgrpblib_draw_circular_arc (3)