diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-1.0.7/src/psdefs.psc')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-1.0.7/src/psdefs.psc | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-1.0.7/src/psdefs.psc b/Build/source/texk/dvisvgm/dvisvgm-1.0.7/src/psdefs.psc deleted file mode 100644 index 312084393d1..00000000000 --- a/Build/source/texk/dvisvgm/dvisvgm-1.0.7/src/psdefs.psc +++ /dev/null @@ -1,66 +0,0 @@ -/************************************************************************* -** psdefs.psc ** -** ** -** This file is part of dvisvgm -- the DVI to SVG converter ** -** Copyright (C) 2005-2011 Martin Gieseking <martin.gieseking@uos.de> ** -** ** -** This program is free software; you can redistribute it and/or ** -** modify it under the terms of the GNU General Public License as ** -** published by the Free Software Foundation; either version 3 of ** -** the License, or (at your option) any later version. ** -** ** -** This program is distributed in the hope that it will be useful, but ** -** WITHOUT ANY WARRANTY; without even the implied warranty of ** -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** -** GNU General Public License for more details. ** -** ** -** You should have received a copy of the GNU General Public License ** -** along with this program; if not, see <http://www.gnu.org/licenses/>. ** -*************************************************************************/ - -const char *PSInterpreter::PSDEFS = -"3 dict dup begin/Install{matrix setmatrix}def/HWResolution[72 72]def/PageSize[10" -"000 10000]def end setpagedevice/@dodraw true store/@SD systemdict def true setgl" -"obal @SD/:save @SD/save get put @SD/:restore @SD/restore get put @SD/:gsave @SD/" -"gsave get put @SD/:grestore @SD/grestore get put @SD/:stroke @SD/stroke get put " -"@SD/:fill @SD/fill get put @SD/:eofill @SD/eofill get put @SD/:clip @SD/clip get" -" put @SD/:eoclip @SD/eoclip get put @SD/:charpath @SD/charpath get put @SD/.seto" -"pacityalpha known not{@SD/.setopacityalpha{pop}put}if @SD/prval{dup type/stringt" -"ype eq{print}{30 string cvs print}ifelse}put @SD/prseq{-1 1{-1 roll prval( )prin" -"t}for(\\n)print}put @SD/prcmd{( )exch(\\ndvi.)3{print}repeat prseq}put @SD/cvxal" -"l{{cvx}forall}put @SD/defpr{[exch[/copy @SD]cvxall 5 -1 roll dup 6 1 roll[/get/e" -"xec]cvxall 6 -1 roll dup 7 1 roll 4 -1 roll dup 5 1 roll dup length string cvs/p" -"rcmd cvx]cvx def}put @SD/querypos{{currentpoint}stopped{$error/newerror false pu" -"t}{2(querypos)prcmd}ifelse}put @SD/applyscalevals{1 0 transform 0 0 transform 3 " -"-1 roll sub dup mul 3 1 roll sub dup mul add sqrt 0 1 transform 0 0 transform 3 " -"-1 roll sub dup mul 3 1 roll sub dup mul add sqrt 1 0 transform dup mul exch dup" -" dup mul 3 -1 roll add sqrt div 3(applyscalevals)prcmd}def @SD/prpath{{2(moveto)" -"prcmd}{2(lineto)prcmd}{6(curveto)prcmd}{0(closepath)prcmd}pathforall}put @SD/cha" -"rpath{/@dodraw false store :charpath/@dodraw true store}put @SD/show{@dodraw{tru" -"e charpath eofill}if}put @SD/stroke{@dodraw{0(newpath)prcmd prpath 0(stroke)prcm" -"d newpath}{:stroke}ifelse}put @SD/fill{@dodraw{0(newpath)prcmd prpath 0(fill)prc" -"md newpath}{:fill}ifelse}put @SD/eofill{@dodraw{0(newpath)prcmd prpath 0(eofill)" -"prcmd newpath}{:eofill}ifelse}put @SD/clip{:clip 0(newpath)prcmd prpath 0(clip)p" -"rcmd}put @SD/eoclip{:eoclip 0(newpath)prcmd prpath 0(eoclip)prcmd}put false setg" -"lobal @SD readonly pop/initclip 0 defpr/sysexec{@SD exch get exec}def/adddot{dup" -" length 1 add string dup 0 46 put dup 3 -1 roll 1 exch putinterval}def/setlinewi" -"dth{dup/setlinewidth sysexec applyscalevals 1(setlinewidth)prcmd}def/setlinecap " -"1 defpr/setlinejoin 1 defpr/setmiterlimit 1 defpr/setdash{mark 3 1 roll 2 copy/s" -"etdash sysexec applyscalevals exch aload length 1 add -1 roll counttomark(setdas" -"h)prcmd pop}def/setgstate{currentlinewidth 1(setlinewidth)prcmd currentlinecap 1" -"(setlinecap)prcmd currentlinejoin 1(setlinejoin)prcmd currentmiterlimit 1(setmit" -"erlimit)prcmd currentrgbcolor 3(setrgbcolor)prcmd 6 array currentmatrix aload po" -"p 6(setmatrix)prcmd currentdash mark 3 1 roll exch aload length 1 add -1 roll co" -"unttomark(setdash)prcmd pop 0(grestore)prcmd}def/save{:save 0(gsave)prcmd}def/re" -"store{:restore setgstate}def/gsave 0 defpr/grestore{:grestore setgstate}def/rota" -"te{dup type/arraytype ne{dup 1(rotate)prcmd}if/rotate sysexec}def/scale{dup type" -"/arraytype ne{2 copy 2(scale)prcmd}if/scale sysexec}def/translate{dup type/array" -"type ne{2 copy 2(translate)prcmd}if/translate sysexec}def/setmatrix{dup/setmatri" -"x sysexec aload pop 6(setmatrix)prcmd}def/initmatrix{matrix setmatrix}def/concat" -"{matrix currentmatrix matrix concatmatrix setmatrix}def/setgray 1 defpr/setcmykc" -"olor 4 defpr/sethsbcolor 3 defpr/setrgbcolor 3 defpr/.setopacityalpha{dup/.setop" -"acityalpha sysexec 1(setopacityalpha)prcmd}def/.handleerror errordict/handleerro" -"r get def errordict begin/handleerror{0(beginerror)prcmd .handleerror 0(enderror" -")prcmd}.bind def end "; - -// vim: set syntax=cpp: |