Debian Codegraph @

texmf-dist/dvips/xcolor/xcolor.pro

raw
1 %!
2 %%
3 %% This is file `xcolor.pro',
4 %% generated with the docstrip utility.
5 %%
6 %% The original source files were:
7 %%
8 %% xcolor.dtx (with options: `dvips')
9 %%
10 %% IMPORTANT NOTICE:
11 %%
12 %% For the copyright see the source file.
13 %%
14 %% Any modified versions of this file must be renamed
15 %% with new filenames distinct from xcolor.pro.
16 %%
17 %% For distribution of the original source see the terms
18 %% for copying and modification in the file xcolor.dtx.
19 %%
20 %% This generated file may be distributed as long as the
21 %% original source files, as listed above, are part of the
22 %% same distribution. (The sources need not necessarily be
23 %% in the same archive or directory.)
24 %%
25 %% xcolor.pro (PostScript/dvips header file)
26 %% [2024/09/29 v3.02 LaTeX color extensions (UK)]
27 %%
28 %% ----------------------------------------------------------------
29 %% Copyright (C) 2003-2021 by Dr. Uwe Kern <xcolor at ukern dot de>
30 %% 2021-2024 LaTeX Project https://github.com/latex3/xcolor/issues
31 %% ----------------------------------------------------------------
32 %%
33
34 userdict begin
35 /setcmycolor{0 setcmykcolor}def
36 /XCbd{bind def}bind def
37 /XCed{exch def}XCbd
38 /XCdef{exch dup TeXDict exch known{pop pop}{XCed}ifelse}XCbd
39 /XCsetcolor{cvx counttomark array astore cvx exch pop XCdef}XCbd
40 /XCcmy{mark exch exec/setcmycolor XCsetcolor}XCbd
41 /XCcmyk{mark exch exec/setcmykcolor XCsetcolor}XCbd
42 /XCgray{mark exch exec/setgray XCsetcolor}XCbd
43 /XChsb{mark exch exec/sethsbcolor XCsetcolor}XCbd
44 /XCrgb{mark exch exec/setrgbcolor XCsetcolor}XCbd
45 /XCfixnormalscale{/normalscale{Resolution 72 div VResolution 72 div neg
46 scale magscale{DVImag dup scale}if}def}def
47 /XC!b{save XCfixnormalscale}XCbd
48 /XC!e{restore}XCbd
49 /XCsp2bp{1 65781.76 div dup scale}XCbd
50 /XCsetline
51 {setlinewidth [] 0 setdash 2 setlinecap 0 setlinejoin 4 setmiterlimit}XCbd
52 /XCboxframe{/d XCed/h XCed/w XCed/l XCed w 0 gt{h d neg gt{l 0 gt
53 {XCsp2bp l XCsetline
54 l 2 div dup translate
55 0 d neg w l sub h l sub d add rectstroke}if}if}if}XCbd
56 /XCcolorblock{/d XCed/h XCed/w XCed w 0 gt{h d neg gt
57 {XCsp2bp 0 XCsetline
58 0 d neg w h d add rectfill}if}if}XCbd
59 end
60 %% End of file `xcolor.pro'.