summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/lapdf/drawing.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-04 16:35:48 +0000
committerKarl Berry <karl@freefriends.org>2011-09-04 16:35:48 +0000
commit60b4ec6f2bf1ba57aa206b2ac46c454d75f3bf93 (patch)
treecbf61d6f8bd4a2c6ff62d5e7940e22c352757cfa /Master/texmf-dist/doc/latex/lapdf/drawing.tex
parentd422465c9efb44dd32ba6a50f6ef9879bce018be (diff)
lapdf is back (2sep11)
git-svn-id: svn://tug.org/texlive/trunk@23806 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/lapdf/drawing.tex')
-rw-r--r--Master/texmf-dist/doc/latex/lapdf/drawing.tex60
1 files changed, 60 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/lapdf/drawing.tex b/Master/texmf-dist/doc/latex/lapdf/drawing.tex
new file mode 100644
index 00000000000..49ca0390718
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lapdf/drawing.tex
@@ -0,0 +1,60 @@
+\input preamble
+
+% --------------------------------------------------------------------------
+\begin{document}
+\unitlength0.93cm
+
+\begin{center}
+{\Huge \bf{Drawing with \Lapdf}}
+\bigskip
+
+\begin{lapdf}(12,12)(-6,-6)
+ \Setwidth(0.01)
+ \Rect(-6,-6,12,12)
+ \Line(-6,0)(+6,0) \Stroke
+ \Line(0,-6)(0,+6) \Stroke
+ \Dash(2)
+ \Line(-6,-6)(+6,+6) \Stroke
+ \Dash(0)
+ \Gsave
+ \Dash(1)
+ \Moveto(-6,0)
+ \Lineto(-2,6)
+ \Lineto(2,-6)
+ \Lineto(6,0) \Stroke
+ \Grestore
+ \Setwidth(0.02)
+ \Red
+ \Curve(64)(-6,0)(-2,6)(2,-6)(6,0) \Closepath \Gfill(0.9)
+ \Cyan
+ \Dash(2)
+ \Rcurve(96)(-5,0,3)(0,8,1)(5,0,3) \Stroke
+ \Rcurve(96)(-5,0,3)(0,8,-1)(5,0,3) \Stroke
+ \Dash(0)
+ \Green
+ \Rcurve(96)(-5,0,1)(0,8,1)(5,0,1) \Stroke
+ \Yellow
+ \Rcurve(96)(-5,0,1)(0,8,3)(5,0,1) \Stroke
+ \Rcurve(96)(-5,0,1)(0,8,0)(5,0,1) \Stroke
+ \Magenta
+ \Circle(64)(0,0,5) \Stroke
+ \Setcol(0.3,0.3,0.3)
+ \Curve(64)(-5,0)(0,-8)(5,0) \Stroke
+\end{lapdf}
+\bigskip
+
+\begin{lapdf}(12,12)(-6,-6)
+ \Setwidth(0.02)
+ \Setjoin(1)
+ \Red
+ \Rotate(45)
+ \Scale(1,0.8)
+ \Circle(64)(0,0,1.86)
+ \Circle(64)(0,0,4)
+ \Circle(64)(0,0,6)
+ \Fill(1,1,0)
+ \Polygon(0,6)(3.527,-4.854)(-5.706,1.854)(5.706,1.854)(-3.527,-4.854)(0,6)
+ \Fill(0,1,1)
+\end{lapdf}
+\end{center}
+\end{document}