summaryrefslogtreecommitdiff
path: root/src/ImageUtility/ImageUtility_XWD.cdl
blob: a331a4cc99cf10ff3b06dad81d4b51c157797996 (plain)
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
--
-- File:	ImageUtility_XWD.cdl
-- Created:	23/03/93
-- Author:	BBL,JLF
--
---Copyright:	Matravision 1993
--

class XWD from ImageUtility

	---Version: 0.0

	---Purpose: Performs a "xwd" and creates a XAlienImage and an Image

	---Keywords:
	---Warning:
	---References:

uses
	XAlienImage	from AlienImage,
	File		from OSD,
	Image 		from Image

raises
	TypeMismatch 	from Standard

is
	Create returns XWD from ImageUtility ;
	---Level: Internal
	---Purpose: Create a XWD object .

	XWD( me : in out ; xwdOptions : CString from Standard = "" )
		returns Boolean from Standard
		is static;
	---Level: Internal
	---Purpose: execute a Spawn "xwd xwudOptions -out aTmpFile" .

	XAlienImage( me )
		returns XAlienImage from AlienImage
		is static;
	---Level: Internal
	---Purpose: returns the XAlienImage created from "xwd".

	Image( me )
		returns Image from Image
		is static;
	---Level: Internal
	---Purpose: returns the Image created from "xwd".

fields
	myXAlienImage : XAlienImage from AlienImage;
	myImage : Image		from Image;
end ;