From 60b4ec6f2bf1ba57aa206b2ac46c454d75f3bf93 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 4 Sep 2011 16:35:48 +0000
Subject: lapdf is back (2sep11)

git-svn-id: svn://tug.org/texlive/trunk@23806 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/doc/latex/lapdf/curve.tex | 61 +++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 Master/texmf-dist/doc/latex/lapdf/curve.tex

(limited to 'Master/texmf-dist/doc/latex/lapdf/curve.tex')

diff --git a/Master/texmf-dist/doc/latex/lapdf/curve.tex b/Master/texmf-dist/doc/latex/lapdf/curve.tex
new file mode 100644
index 00000000000..ecdf6b253f2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lapdf/curve.tex
@@ -0,0 +1,61 @@
+\input preamble.tex
+
+% ---------------------------------------------------------------------------
+\begin{document}
+\unitlength1.125cm
+
+\begin{center}
+{\Huge \bf{Integral Bezier Curves}}
+\bigskip
+
+\begin{lapdf}(16,16)(-8,-8)
+ \Dgray
+ \Rect(-8,-8,16,16) \Gfill(.9)
+ \Black
+ \Curve(80)(-8,-8)(8,8) \Stroke
+ \Red
+ \Curve(80)(-8,-8)(0,8)(8,-8) \Stroke
+ \Green
+ \Curve(80)(-8,-8)(-4,8)(4,-8)(8,8) \Stroke
+ \Blue
+ \Curve(80)(-8,-8)(-8,0)(12,-12)(0,8)(8,8) \Stroke
+ \Cyan
+ \Curve(96)(0,-8)(-8,-8)(-8,8)(8,8)(8,-8)(0,-8) \Stroke
+ \Magenta
+ \Curve(96)(-8,-8)(0,-8)(-8,0)(0,8)(8,0)(0,-8)(8,-8) \Stroke
+ \Yellow
+ \Curve(96)(-8,0)(-5.715,8)(-3.43,-16)(-1.145,8)(1.145,-8)(3.43,16)
+  (5.715,-8)(8,0) \Stroke
+\end{lapdf}
+
+\em{Curve-Degree: 1 black, 2 red, 3 green, 4 blue, 5 cyan, 6 magenta, 7 dyellow}
+\end{center}
+
+\newpage
+\unitlength1cm
+
+\begin{center}
+{\Huge \bf{Rational Bezier Curves}}
+\bigskip
+
+\begin{lapdf}(18,18)(-9,-9)
+ \Dgray
+ \Rect(-9,-9,18,18) \Gfill(.9)
+ \Red
+ \Rcurve(80)(-9,9,1)(0,-9,4)(9,9,1) \Stroke
+ \Green
+ \Rcurve(80)(-9,-9,0.1)(-4.5,9,2.8)(4.5,-9,2.8)(9,9,0.1) \Stroke
+ \Blue
+ \Rcurve(80)(-9,9,0.1)(-4.5,-9,0.7)(0,9,1)(4.5,-9,0.7)(9,9,0.1) \Stroke
+ \Cyan
+ \Rcurve(96)(3,0,3)(0,3,1)(-3,0,1)(0,-3,1)(3,0,3) \Stroke
+ \Magenta
+ \Rcurve(96)(4,0,1)(4,16,0.2)(-12,8,0.2)(-12,-8,0.2)(4,-16,0.2)(4,0,1)
+  \Stroke
+ \Yellow
+ \Rcurve(96)(0,-9,1)(-9,-9,2)(-9,9,1)(9,9,1)(9,-9,2)(0,-9,1) \Stroke
+\end{lapdf}
+
+\em{Curve-Degree: 2 red, 3 green, 4 blue, 5 cyan, 6 magenta, 7 dyellow}
+\end{center}
+\end{document}
-- 
cgit v1.2.3

