-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathUIFFFormat.p
67 lines (48 loc) · 1.61 KB
/
UIFFFormat.p
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
{Photoshop version 1.0.1, file: UIFFFormat.p
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/ }
UNIT UIFFFormat;
INTERFACE
USES
{$LOAD MacIntf.LOAD}
MemTypes, QuickDraw, OSIntf, ToolIntf, PackIntf,
{$LOAD UMacApp.LOAD}
UObject, UList, UMacApp,
{$LOAD UPhotoshop.LOAD}
PaletteMgr, UConstants, UVMemory, UPhotoshop,
{$LOAD}
UDialog, URootFormat, UProgress;
TYPE
TIFFFormat = OBJECT (TRootFormat)
fDepth: INTEGER;
PROCEDURE TIFFFormat.IImageFormat; OVERRIDE;
FUNCTION TIFFFormat.CanWrite
(doc: TImageDocument): BOOLEAN; OVERRIDE;
PROCEDURE TIFFFormat.SetFormatOptions
(doc: TImageDocument); OVERRIDE;
FUNCTION TIFFFormat.ReadCMap (VAR cMap: TRGBLookUpTable): INTEGER;
PROCEDURE TIFFFormat.TransCMap (doc: TImageDocument;
VAR cMap: TRGBLookUpTable;
nPlanes: INTEGER;
depth: INTEGER;
planePick: INTEGER;
planeOnOff: INTEGER;
planeMask: INTEGER);
PROCEDURE TIFFFormat.ReadBody (doc: TImageDocument;
nPlanes: INTEGER;
masked: BOOLEAN;
compressed: BOOLEAN);
PROCEDURE TIFFFormat.DoRead (doc: TImageDocument;
refNum: INTEGER;
rsrcExists: BOOLEAN); OVERRIDE;
PROCEDURE TIFFFormat.WriteBody (doc: TImageDocument;
bounds: Rect);
PROCEDURE TIFFFormat.DoWrite (doc: TImageDocument;
refNum: INTEGER); OVERRIDE;
END;
IMPLEMENTATION
{$I UIFFFormat.inc1.p}
END.