b311480e |
1 | -- Created on: 1993-07-06 |
2 | -- Created by: Jean Louis FRENKEL |
3 | -- Copyright (c) 1993-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
10 | -- |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | -- |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | -- Modified: stt: 25-02-98: S3558 ajout ViewStdAdapter |
22 | -- stt: 08-04-98: suppr ViewStdAdapter |
7fd59977 |
23 | |
24 | |
25 | package V2d |
26 | ---Purpose: this package furnishes the services needed to build a |
27 | -- 2d mono-view visualizer on a windowing system. |
28 | uses |
29 | |
30 | Quantity, |
31 | Graphic2d, |
32 | Aspect, |
33 | PlotMgt, |
34 | MMgt, |
35 | TCollection, |
36 | TColStd, |
37 | Viewer |
38 | |
39 | is |
40 | |
41 | class Viewer; |
42 | private pointer ViewerPointer to Viewer from V2d; |
43 | |
44 | class View; |
45 | ---Purpose: allows the creation of a view in a window driver. |
46 | --- describes all the commands available for a view. |
47 | -- |
48 | |
49 | class DefaultMap; |
50 | ---Purpose: furnishes default color, font, and width map. |
51 | |
52 | enumeration TypeOfWindowResizingEffect is TOWRE_ENLARGE_SPACE, |
53 | TOWRE_ENLARGE_OBJECTS |
54 | ---Purpose: determines the desired type of effect after the resizing |
55 | -- of a window. |
56 | end TypeOfWindowResizingEffect; |
57 | |
58 | ---Purpose: drawing of the grid. |
59 | |
60 | private class BackgroundGraphicObject; |
61 | |
62 | private class RectangularGrid; |
63 | private class CircularGrid; |
64 | |
65 | private class CircularGraphicGrid; |
66 | private class RectangularGraphicGrid; |
67 | |
68 | Draw(aViewer: Viewer from V2d); |
69 | ---Purpose: Test |
70 | |
71 | end V2d; |