summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hobby/pgflibraryhobby.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-03 22:56:48 +0000
committerKarl Berry <karl@freefriends.org>2012-09-03 22:56:48 +0000
commit49ee169240901a3f97d82ab2e35e37cf237b3961 (patch)
tree75a8e3f59aebd5cac9c9132f0bdbd606052cde67 /Master/texmf-dist/tex/latex/hobby/pgflibraryhobby.code.tex
parent8028e80de243e75b6cd0bdc9aec5dbed7c6be192 (diff)
new tikz package hobby (3sep12)
git-svn-id: svn://tug.org/texlive/trunk@27584 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hobby/pgflibraryhobby.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/hobby/pgflibraryhobby.code.tex62
1 files changed, 62 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hobby/pgflibraryhobby.code.tex b/Master/texmf-dist/tex/latex/hobby/pgflibraryhobby.code.tex
new file mode 100644
index 00000000000..3e4e609dae9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hobby/pgflibraryhobby.code.tex
@@ -0,0 +1,62 @@
+%%
+%% This is file `pgflibraryhobby.code.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% hobby.dtx (with options: `pgflibrary')
+%% ----------------------------------------------------------------
+%% hobby --- a TikZ/PGF library for drawing smooth(ish) curves using
+%% Hobby's algorithm (implemented in LaTeX3)
+%% E-mail: stacey@math.ntnu.no
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ----------------------------------------------------------------
+%%
+\input{hobby.code.tex}
+\pgfkeys{
+ /pgf/hobby/.is family,
+ /pgf/hobby/.cd,
+ x/.code={\pgf@x=#1cm},
+ y/.code={\pgf@y=#1cm},
+}
+\def\hobby@curveto#1#2#3{%
+ \pgfpathcurveto{\hobby@topgf{#1}}{\hobby@topgf{#2}}{\hobby@topgf{#3}}%
+}
+\def\hobby@moveto#1{%
+ \pgfpathmoveto{\hobby@topgf{#1}}%
+}
+\def\hobby@topgf#1{%
+ \pgfqkeys{/pgf/hobby}{#1}%
+}
+\def\hobby@close#1{%
+ \pgfpathclose
+}
+%%
+%% Copyright (C) 2012 by Andrew Stacey <stacey@math.ntnu.no>
+%%
+%% This file may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3 of this
+%% license or (at your option) any later version.
+%% The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Andrew Stacey.
+%%
+%% This work consists of the files hobby.dtx
+%% hobby_doc.tex
+%% and the derived files hobby.code.tex
+%% pgflibraryhobby.code.tex
+%% tikzlibraryhobby.code.tex
+%% hobby.ins
+%% hobby.pdf
+%% hobby_doc.pdf
+%% README.txt
+%%
+%%
+%% End of file `pgflibraryhobby.code.tex'.