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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _V2d_DefaultMap_HeaderFile
#define _V2d_DefaultMap_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Handle_Aspect_GenericColorMap_HeaderFile
#include <Handle_Aspect_GenericColorMap.hxx>
#endif
#ifndef _Handle_Aspect_TypeMap_HeaderFile
#include <Handle_Aspect_TypeMap.hxx>
#endif
#ifndef _Handle_Aspect_WidthMap_HeaderFile
#include <Handle_Aspect_WidthMap.hxx>
#endif
#ifndef _Handle_Aspect_FontMap_HeaderFile
#include <Handle_Aspect_FontMap.hxx>
#endif
#ifndef _Handle_Aspect_MarkMap_HeaderFile
#include <Handle_Aspect_MarkMap.hxx>
#endif
class Aspect_GenericColorMap;
class Aspect_TypeMap;
class Aspect_WidthMap;
class Aspect_FontMap;
class Aspect_MarkMap;
//! Modifies class definition. <br>
class V2d_DefaultMap {
public:
void* operator new(size_t,void* anAddress)
{
return anAddress;
}
void* operator new(size_t size)
{
return Standard::Allocate(size);
}
void operator delete(void *anAddress)
{
if (anAddress) Standard::Free((Standard_Address&)anAddress);
}
//! Returns a indexed color map with the following color <br>
//! White, black, red, green, blue1 , yellow, sienna, orange2 <br>
//! lightgray,lightseagreen,gray60,gray70. The index are 1 to 12. <br>
Standard_EXPORT static Handle_Aspect_GenericColorMap ColorMap() ;
//! Returns a indexed type map with the following line types <br>
//! SOLID, DASH, DOT, DOTDASH. The index are 1 to 4. <br>
Standard_EXPORT static Handle_Aspect_TypeMap TypeMap() ;
//! Returns a indexed width map with the following width <br>
//! 0.0001, 0.0006, 0.001, 0.003. The index are 1 to 4. <br>
Standard_EXPORT static Handle_Aspect_WidthMap WidthMap() ;
//! Returns a indexed font map with the following font <br>
//! "Courier-Bold" 0.01 0.0 <br>
//! "Helvetica-Bold" 0.01 0.2 <br>
//! "-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1" 0.003 0.0 <br>
//! The index are 1 to 2. <br>
Standard_EXPORT static Handle_Aspect_FontMap FontMap() ;
//! Returns a indexed font map with the following width <br>
//! Point,Plus,Star,O,X,O_Point,O_Plus,O_STAR,O_X <br>
//! BALL,RING1,RING2,RING3 <br>
Standard_EXPORT static Handle_Aspect_MarkMap MarkMap() ;
protected:
private:
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|