summaryrefslogtreecommitdiff
path: root/src/V2d/V2d.cdl
blob: 654e5540611597eda9acef47d73af922de5cba0e (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
56
-- File:        V2d.cdl
-- Created:     Tue Jul  6 12:31:15 1993
-- Author:      Jean Louis FRENKEL
--              <jlf@stylox>
-- Modified:    stt: 25-02-98: S3558 ajout ViewStdAdapter
--              stt: 08-04-98: suppr ViewStdAdapter
---Copyright:    Matra Datavision 1993


package V2d
---Purpose: this package furnishes the services needed to build a
--          2d mono-view visualizer on a windowing system.
uses

    Quantity,
    Graphic2d,
    Aspect,
    PlotMgt,
    MMgt,
    TCollection,
    TColStd,
    Viewer

is

    class Viewer;
    private pointer ViewerPointer to Viewer from V2d;
    
    class View;
    ---Purpose: allows the creation of a view in a window driver.
    ---         describes all the commands available for a view.
    --          
    
    class DefaultMap;
    ---Purpose: furnishes default color, font, and width map.
    
    enumeration TypeOfWindowResizingEffect is TOWRE_ENLARGE_SPACE,
                                              TOWRE_ENLARGE_OBJECTS
    ---Purpose: determines the desired type of effect after the resizing
    --          of a window.
    end TypeOfWindowResizingEffect;

    ---Purpose: drawing of the grid.

    private class BackgroundGraphicObject;

    private class RectangularGrid;
    private class CircularGrid;

    private class CircularGraphicGrid;
    private class RectangularGraphicGrid;

    Draw(aViewer: Viewer from V2d);
    ---Purpose: Test

end V2d;