7fd59977 |
1 | -- File: V2d_DefaultMap.cdl |
2 | -- Created: Fri Feb 10 08:24:42 1995 |
3 | -- Author: Mister rmi |
4 | -- <rmi@pernox> |
5 | ---Copyright: Matra Datavision 1995 |
6 | |
7 | class DefaultMap from V2d |
8 | |
9 | ---Purpose: Modifies class definition. |
10 | |
11 | uses |
12 | GenericColorMap, TypeMap, WidthMap, FontMap, MarkMap from Aspect |
13 | is |
14 | |
15 | ColorMap(myclass) |
16 | ---Purpose: Returns a indexed color map with the following color |
17 | -- White, black, red, green, blue1 , yellow, sienna, orange2 |
18 | -- lightgray,lightseagreen,gray60,gray70. The index are 1 to 12. |
19 | returns GenericColorMap from Aspect; |
20 | |
21 | |
22 | TypeMap(myclass) |
23 | ---Purpose: Returns a indexed type map with the following line types |
24 | -- SOLID, DASH, DOT, DOTDASH. The index are 1 to 4. |
25 | returns TypeMap from Aspect; |
26 | |
27 | WidthMap(myclass) |
28 | ---Purpose: Returns a indexed width map with the following width |
29 | -- 0.0001, 0.0006, 0.001, 0.003. The index are 1 to 4. |
30 | returns WidthMap from Aspect; |
31 | |
32 | FontMap(myclass) |
33 | ---Purpose: Returns a indexed font map with the following font |
34 | -- "Courier-Bold" 0.01 0.0 |
35 | -- "Helvetica-Bold" 0.01 0.2 |
36 | -- "-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1" 0.003 0.0 |
37 | -- The index are 1 to 2. |
38 | returns FontMap from Aspect; |
39 | |
40 | |
41 | MarkMap(myclass) |
42 | ---Purpose: Returns a indexed font map with the following width |
43 | -- Point,Plus,Star,O,X,O_Point,O_Plus,O_STAR,O_X |
44 | -- BALL,RING1,RING2,RING3 |
45 | returns MarkMap from Aspect; |
46 | |
47 | end DefaultMap from V2d; |