diff options
author | Karl Berry <karl@freefriends.org> | 2008-02-23 00:49:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-02-23 00:49:54 +0000 |
commit | 4fc1af1461e934c39f8f5e10d5d8788681d82223 (patch) | |
tree | 7716e8a3e8787a3d11c5ce728d21b808f786ce7d /Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex | |
parent | 6f5a4edf390b6e05291d7a4b816782b14122a205 (diff) |
tikz/pgf 2.0 first attempt (22feb08)
git-svn-id: svn://tug.org/texlive/trunk@6741 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex | 134 |
1 files changed, 0 insertions, 134 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex b/Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex deleted file mode 100644 index 84a432ceadb..00000000000 --- a/Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex +++ /dev/null @@ -1,134 +0,0 @@ -% Copyright 2006 by Till Tantau -% -% This file may be distributed and/or modified -% -% 1. under the LaTeX Project Public License and/or -% 2. under the GNU Public License. -% -% See the file doc/generic/pgf/licenses/LICENSE for more details. - -\ProvidesFileRCS $Header: /cvsroot/pgf/pgf/generic/pgf/basiclayer/pgfcorequick.code.tex,v 1.2 2006/10/11 15:22:25 tantau Exp $ - -% Quick version of basic drawing commands. Most high-level commands -% are not available if these commands are used. - -% Move current point to (#1,#2). -% -% #1 = x dimension of new current point -% #2 = y dimension of new current point -% -% Example: -% -% \pgfpathqmoveto{0pt}{0pt} -% \pgfpathqlineto{1pt}{1pt} -% \pgfpathqcurveto{2pt}{1pt}{2pt}{2pt}{3pt}{2pt} -% \pgfqstroke - -\def\pgfpathqmoveto#1#2{\pgfsyssoftpath@moveto{#1}{#2}} - - -% Append a line to (#1,#2) to the current path. -% -% #1 = x dimension of target -% #2 = y dimension of target -% -% Example: -% -% \pgfpathqmoveto{0pt}{0pt} -% \pgfpathqlineto{1pt}{1pt} -% \pgfpathqcurveto{2pt}{1pt}{2pt}{2pt}{3pt}{2pt} -% \pgfqstroke - -\def\pgfpathqlineto#1#2{\pgfsyssoftpath@lineto{#1}{#2}} - - -% Append a bezier spline to the current path. -% -% #1 = x dimension of first support point -% #2 = y dimension of first support point -% #3 = x dimension of second support point -% #4 = y dimension of second support point -% #5 = x dimension of target point -% #6 = y dimension of target point -% -% Example: -% -% \pgfpathqmoveto{0pt}{0pt} -% \pgfpathqlineto{1pt}{1pt} -% \pgfpathqcurveto{2pt}{1pt}{2pt}{2pt}{3pt}{2pt} -% \pgfqstroke - -\def\pgfpathqcurveto#1#2#3#4#5#6{\pgfsyssoftpath@curveto{#1}{#2}{#3}{#4}{#5}{#6}} - - - - -% Append a circle of the given radius around the origin. -% -% #1 = radius -% -% Example: -% -% \pgfpathqcircle{10pt} -% is quicker than -% \pgfpathcircle{\pgforigin}{10pt} - -\def\pgfpathqcircle#1{% - {% - \pgf@x=#1% - \pgf@y=0.555\pgf@x% - \pgfsyssoftpath@moveto{\the\pgf@x}{0pt}% - \pgfsyssoftpath@curveto{\the\pgf@x}{\the\pgf@y}{\the\pgf@y}{\the\pgf@x}{0pt}{\the\pgf@x}% - \pgfsyssoftpath@curveto{-\the\pgf@y}{\the\pgf@x}{-\the\pgf@x}{\the\pgf@y}{-\the\pgf@x}{0pt}% - \pgfsyssoftpath@curveto{-\the\pgf@x}{-\the\pgf@y}{-\the\pgf@y}{-\the\pgf@x}{0pt}{-\the\pgf@x}% - \pgfsyssoftpath@curveto{\the\pgf@y}{-\the\pgf@x}{\the\pgf@x}{-\the\pgf@y}{\the\pgf@x}{0pt}% - \pgfsyssoftpath@closepath% - }% -} - - - -% Stroke current path. No hooks called. -% -% Example: -% -% \pgfpathqmoveto{0cm}{0cm} -% \pgfpathqlineto{1cm}{1cm} -% \pgfpathqcurveto{2cm}{1cm}{2cm}{2cm}{3cm}{2cm} -% \pgfqstroke - -\def\pgfusepathqstroke{% - \pgfsyssoftpath@flushcurrentpath% - \pgfsys@stroke% - \pgf@resetpathsizes% -} - - -% Quickly fill current path. - -\def\pgfusepathqfill{% - \pgfsyssoftpath@flushcurrentpath% - \pgfsys@fill% - \pgf@resetpathsizes% -} - - -% Quickly fill and stroke current path. - -\def\pgfusepathqfillstroke{% - \pgfsyssoftpath@flushcurrentpath% - \pgfsys@fillstroke% - \pgf@resetpathsizes% -} - -% Quickly clip current path. - -\def\pgfusepathqclip{% - \pgfsyssoftpath@flushcurrentpath% - \pgfsys@clipnext% - \pgfsys@discardpath% - \pgf@resetpathsizes% -} - - -\endinput |