blob: 5699ab79785ccfa40a6aec354ee2f0e8bdf4b4fe (
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
54
55
|
--
-- File: Graphic3d_WNTGraphicDevice.cdl
-- Created: Thu Feb 15 09:29:45 1996
-- Author: PLOTNIKOV Eugeny
-- <eugeny@maniax>
---Copyright: Matra Datavision 1996
class WNTGraphicDevice from Graphic3d inherits GraphicDevice from WNT
---Purpose: This class initializes a Windows NT Graphic Device.
uses
Color from Quantity,
ColorRef from WNT,
Long from WNT,
SharedLibrary from OSD,
GraphicDriver from Aspect,
GraphicDriver from Graphic3d
raises
GraphicDeviceDefinitionError from Aspect
is
Create
returns mutable WNTGraphicDevice from Graphic3d
---Purpose: Creates a class instance and provide initialization
-- of the graphic library.
-- Warning: Raises if something wrong.
raises GraphicDeviceDefinitionError from Aspect;
Destroy ( me : mutable )
is redefined static;
---Purpose: Destroys all resources attached to the graphic device.
---C++: alias~
GraphicDriver ( me )
returns GraphicDriver from Aspect
is redefined static;
---Level: Public
---Purpose: Returns the GraphicDriver.
SetGraphicDriver ( me : mutable )
is private;
---Level: Internal
---Purpose: Sets the GraphicDriver.
fields
MyGraphicDriver : GraphicDriver from Graphic3d;
MySharedLibrary : SharedLibrary from OSD;
end WNTGraphicDevice;
|