0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / ImageUtility / ImageUtility_X11Dump.cdl
CommitLineData
7fd59977 1--
2-- File: ImageUtility_X11Dump.cdl
3-- Created: 23/03/93
4-- Author: BBL,JLF
5--
6---Copyright: Matravision 1993
7--
8
9class X11Dump from ImageUtility
10
11uses
12 X11Display from ImageUtility,
13 X11Window from ImageUtility,
14 X11XImage from ImageUtility,
15 X11GC from ImageUtility,
16 Image from Image,
17 AsciiString from TCollection
18
19raises
20 TypeMismatch from Standard
21
22is
23 Create( DisplayName : AsciiString from TCollection ;
24 aImage : Image from Image )
25 returns X11Dump from ImageUtility ;
26 ---Level: Internal
27 ---Purpose : Create a new X11 Display,Window,Colormap,GC,XImage suitable
28 -- for aImage .
29
30 Create( aX11Dump : X11Dump from ImageUtility ;
31 aImage : Image from Image )
32 returns X11Dump from ImageUtility ;
33 ---Level: Internal
34 ---Purpose : Create a new X11 XImage and share Display,Window,Colormap,
35 -- GC with a previous aX11Dump ;
36
37 X11GC ( me )
38 returns X11GC from ImageUtility
39 is static;
40 X11Window ( me )
41 returns X11Window from ImageUtility
42 is static;
43 X11Display ( me )
44 returns X11Display from ImageUtility
45 is static;
46 X11XImage ( me )
47 returns X11XImage from ImageUtility
48 is static;
49
50 UpdateX11Colormap ( me )
51 is static;
52 UpdateX11XImage ( me : in out )
53 is static;
54 DisplayX11XImage ( me )
55 is static;
56
57fields
58 myDisplay : X11Display from ImageUtility ;
59 myWindow : X11Window from ImageUtility ;
60 myXImage : X11XImage from ImageUtility ;
61 myGC : X11GC from ImageUtility ;
62 myImage : Image from Image ;
63end ;