Debian Codegraph @

texmf-dist/doc/latex/lapdf/bezier.tex

raw
1 \input preamble.tex
2
3 % ---------------------------------------------------------------------------
4 \begin{document}
5 \begin{center}
6 {\Huge\bf{Quadratic}}
7 \bigskip
8
9 \begin{lapdf}(16,8)(-8,-4)
10 \Blue
11 \Quadratic(-8,0)
12 (-4,+8)(+0,0)
13 (+4,-8)(+8,0)
14 (+4,+8)(+0,0)
15 (-4,-8)(-8,0) \Stroke
16 \Point(1)(-8,0)
17 \Point(1)(+0,0)
18 \Point(1)(+8,0)
19 \end{lapdf}
20
21 \em{4 quadratic Bezier curves}
22 \end{center}
23 \bigskip
24
25 \begin{center}
26 {\Huge\bf{Cubic}}
27 \bigskip
28
29 \begin{lapdf}(16,6)(-8,-3)
30 \Red
31 \Cubic(-8,0)
32 (-5,-8)(-3,8)(+0,0)
33 (+3,-8)(+5,8)(+8,0)
34 (+5,-8)(+3,8)(+0,0)
35 (-3,-8)(-5,8)(-8,0) \Stroke
36 \Point(1)(-8,0)
37 \Point(1)(+0,0)
38 \Point(1)(+8,0)
39 \end{lapdf}
40
41 \em{4 cubic Bezier curves}
42 \end{center}
43 \end{document}