0023510: Integration of test grid "vis" into the new testing system
[occt.git] / src / V2d / V2d_DefaultMap.cdl
CommitLineData
b311480e 1-- Created on: 1995-02-10
2-- Created by: Mister rmi
3-- Copyright (c) 1995-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
22class DefaultMap from V2d
23
24 ---Purpose: Modifies class definition.
25
26uses
27 GenericColorMap, TypeMap, WidthMap, FontMap, MarkMap from Aspect
28is
29
30 ColorMap(myclass)
31 ---Purpose: Returns a indexed color map with the following color
32 -- White, black, red, green, blue1 , yellow, sienna, orange2
33 -- lightgray,lightseagreen,gray60,gray70. The index are 1 to 12.
34 returns GenericColorMap from Aspect;
35
36
37 TypeMap(myclass)
38 ---Purpose: Returns a indexed type map with the following line types
39 -- SOLID, DASH, DOT, DOTDASH. The index are 1 to 4.
40 returns TypeMap from Aspect;
41
42 WidthMap(myclass)
43 ---Purpose: Returns a indexed width map with the following width
44 -- 0.0001, 0.0006, 0.001, 0.003. The index are 1 to 4.
45 returns WidthMap from Aspect;
46
47 FontMap(myclass)
48 ---Purpose: Returns a indexed font map with the following font
49 -- "Courier-Bold" 0.01 0.0
50 -- "Helvetica-Bold" 0.01 0.2
51 -- "-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1" 0.003 0.0
52 -- The index are 1 to 2.
53 returns FontMap from Aspect;
54
55
56 MarkMap(myclass)
57 ---Purpose: Returns a indexed font map with the following width
58 -- Point,Plus,Star,O,X,O_Point,O_Plus,O_STAR,O_X
59 -- BALL,RING1,RING2,RING3
60 returns MarkMap from Aspect;
61
62end DefaultMap from V2d;