forked from amix/photoshop
-
Notifications
You must be signed in to change notification settings - Fork 1
/
UDraw.a.inc
132 lines (112 loc) · 3.28 KB
/
UDraw.a.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{Photoshop version 1.0.1, file: UDraw.a.inc
Computer History Museum, www.computerhistory.org
This material is (C)Copyright 1990 Adobe Systems Inc.
It may not be distributed to third parties.
It is licensed for non-commercial use according to
www.computerhistory.org/softwarelicense/photoshop/ }
PROCEDURE DoEraseRect (dataPtr: Ptr;
dataWidth: INTEGER;
rows: INTEGER;
cols: INTEGER;
color: INTEGER); EXTERNAL;
PROCEDURE DoMagicRect (srcPtr: Ptr;
dstPtr: Ptr;
dataWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE DoAlphaEraseRect (dataPtr: Ptr;
alphaPtr: Ptr;
dataWidth: INTEGER;
rows: INTEGER;
cols: INTEGER;
color: INTEGER); EXTERNAL;
PROCEDURE DoAlphaMagicRect (srcPtr: Ptr;
dstPtr: Ptr;
alphaPtr: Ptr;
dataWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE DoAlphaMask (maskPtr: Ptr;
alphaPtr: Ptr;
maskWidth: INTEGER;
alphaWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE DoFadeMask (srcPtr: Ptr;
dstPtr: Ptr;
count: INTEGER;
drawings: INTEGER;
fadeout: INTEGER); EXTERNAL;
PROCEDURE DoThresholdMask (srcPtr: Ptr;
dstPtr: Ptr;
count: INTEGER;
pressure: INTEGER); EXTERNAL;
PROCEDURE DoNarrowMask (srcPtr: Ptr;
dstPtr: Ptr;
count: INTEGER;
pressure: INTEGER); EXTERNAL;
PROCEDURE DoGetTip (dataPtr: Ptr;
buffPtr: Ptr;
dataWidth: INTEGER;
buffWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE DoGetBlurred (dataPtr: Ptr;
buffPtr: Ptr;
dataWidth: INTEGER;
buffWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE DoGetSharpened (dataPtr: Ptr;
buffPtr: Ptr;
dataWidth: INTEGER;
buffWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE DoMixBytes (oldPtr: Ptr;
newPtr: Ptr;
mixMap: TLookUpTable;
count: INTEGER); EXTERNAL;
PROCEDURE DoDrawTip (dataPtr: Ptr;
maskPtr: Ptr;
buffPtr: Ptr;
dataWidth: INTEGER;
maskWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE DoDrawTipDarken (dataPtr: Ptr;
maskPtr: Ptr;
buffPtr: Ptr;
dataWidth: INTEGER;
maskWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE DoDrawTipLighten (dataPtr: Ptr;
maskPtr: Ptr;
buffPtr: Ptr;
dataWidth: INTEGER;
maskWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE DoDrawTipColor (grayLUT: TRGBLookUpTable;
rDataPtr: Ptr;
gDataPtr: Ptr;
bDataPtr: Ptr;
maskPtr: Ptr;
rBuffPtr: Ptr;
gBuffPtr: Ptr;
bBuffPtr: Ptr;
dataWidth: INTEGER;
maskWidth: INTEGER;
rows: INTEGER;
cols: INTEGER); EXTERNAL;
PROCEDURE MakeTextureNoise (noisePtr: Ptr;
count: INTEGER); EXTERNAL;
PROCEDURE ScrambleTexture (dataPtr: Ptr;
noisePtr: Ptr); EXTERNAL;
PROCEDURE DoCopyForward (srcPtr: Ptr;
dstPtr: Ptr;
count: INTEGER); EXTERNAL;
PROCEDURE DoCopyBackward (srcPtr: Ptr;
dstPtr: Ptr;
count: INTEGER); EXTERNAL;