talks/20091108-Riverside/xypdf-l.tex
author scott@6e1638ff-ae45-0410-89bd-df963105f760
Fri, 30 Oct 2009 21:05:16 +0000
changeset 153 f58334ec3d1d
permissions -rw-r--r--
...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
153
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     1
%% xypdf-l.tex from $Id: xypdf-l.doc,v $
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     2
%%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     3
%% Xy-pic ``Line extension'' PDF backend support.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     4
%% Copyright (c) 1999-1999 Ross Moore <ross@mpce.mq.edu.au>
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     5
%%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     6
%% This file is part of the Xy-pic package for graphs and diagrams in TeX.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     7
%% See the companion README and INSTALL files for further information.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     8
%% Copyright (c) 1991-1999 Kristoffer H. Rose <krisrose@brics.dk>
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
     9
%%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    10
%% The Xy-pic package is free software; you can redistribute it and/or modify
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    11
%% it under the terms of the GNU General Public License as published by the
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    12
%% Free Software Foundation; either version 2 of the License, or (at your
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    13
%% option) any later version.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    14
%%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    15
%% The Xy-pic package is distributed in the hope that it will be useful, but
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    16
%% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    17
%% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    18
%% for more details.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    19
%%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    20
%% You should have received a copy of the GNU General Public License along
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    21
%% with this package; if not, write to the Free Software Foundation, Inc.,
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    22
%% 675 Mass Ave, Cambridge, MA 02139, USA.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    23
%%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    24
%% As a special exception, you may use this file and all files derived
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    25
%% from it without restrictions. This special exception was added with
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    26
%% version 3.7 of Xy-pic.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    27
%%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    28
\expandafter\ifx\csname xypdf-lloaded\endcsname\empty
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    29
 \message{not reloaded}\endinput \fi
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    30
\expandafter\let\csname xypdf-lloaded\endcsname=\empty \xycatcodes
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    31
\expandafter\ifx\csname xypdf-sloaded\endcsname\empty\else
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    32
 \xyinputorelse@{xypdf-s}{\xyerror@{Could not load xypdf-s}{}}%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    33
 \xycatcodes\fi
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    34
\xydef@\installPDFline@{\installPDFstyle@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    35
 \installPDFlinestyles@ \installPDFpolylines@ }
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    36
\xydef@\UsePDFlines{\installPDFline@}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    37
\xydef@\NoPDFlines{\UnloadLine@\relax}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    38
\xydef@\xyPDFlineSpecial@#1{\xyPDFrawZ@{ #1 w}}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    39
\xydef@\xyPDFcapSpecial@#1{\xyPDFrawZ@{ #1 J}}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    40
\xydef@\xyPDFjoinSpecial@#1{\xyPDFrawZ@{ #1 j}}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    41
\xydef@\xyPDFmiterSpecial@#1{\xyPDFrawZ@{ #1 M}}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    42
\xydef@\installPDFlinestyles@{%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    43
 \let\xylinewidth@@=\xylinewidth@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    44
 \let\transxyline@@=\transxyline@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    45
 \let\xylineSpecial@@=\xyPDFlineSpecial@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    46
 \let\resetxyline@@=\resetxyline@i
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    47
 \let\xy@linecap@@=\xy@linecap@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    48
 \let\xycapSpecial@@=\xyPDFcapSpecial@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    49
 \let\resetxylinecap@@=\resetxylinecap@i
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    50
 \let\xy@linejoin@@=\xy@linejoin@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    51
 \let\xyjoinSpecial@@=\xyPDFjoinSpecial@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    52
 \let\resetxylinejoin@@=\resetxylinejoin@i
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    53
 \let\xy@linemiter@@=\xy@linemiter@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    54
 \let\xymiterSpecial@@=\xyPDFmiterSpecial@
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    55
 \let\resetxylinemiter@@=\resetxylinemiter@i
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    56
}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    57
\xydef@\xypolylinePDF@Special#1{\PDFspecial@@{ q [] 0 d #1 S Q}}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    58
\xydef@\xypolydotPDF@Special#1{\PDFspecial@@{ q [1 3] 0 d S Q}}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    59
\xydef@\xypolydashPDF@Special#1{\PDFspecial@@{ q [5] 0 d #1 S Q}}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    60
\xydef@\xypolyfillPDF@Special#1{\PDFspecial@@{ q #1 f Q}}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    61
\xydef@\xypolyeofillPDF@Special#1{\PDFmacro@{ q #1 f* Q}}
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    62
\xydef@\installPDFpolylines@{%
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    63
 \let\xypolyline@Special=\xypolylinePDF@Special
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    64
 \let\xypolydot@Special=\xypolydotPDF@Special
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    65
 \let\xypolydash@Special=\xypolydashPDF@Special
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    66
 \let\xypolyfill@Special=\xypolyfillPDF@Special
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    67
%\let\xypolyeofill@Special=\xypolyeofillPDF@Special
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    68
 \let\xy@polystyle@@=\xy@polystyle@ }
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
diff changeset
    69
\endinput