summaryrefslogtreecommitdiff
path: root/inc/Prs2d_AspectHidingText.hxx
blob: 8f4d652eb5712f819e509a2877a71d3af4a80b63 (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
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
// 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 _Prs2d_AspectHidingText_HeaderFile
#define _Prs2d_AspectHidingText_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Prs2d_AspectHidingText_HeaderFile
#include <Handle_Prs2d_AspectHidingText.hxx>
#endif

#ifndef _Aspect_TypeOfFont_HeaderFile
#include <Aspect_TypeOfFont.hxx>
#endif
#ifndef _Quantity_NameOfColor_HeaderFile
#include <Quantity_NameOfColor.hxx>
#endif
#ifndef _Aspect_WidthOfLine_HeaderFile
#include <Aspect_WidthOfLine.hxx>
#endif
#ifndef _Standard_ShortReal_HeaderFile
#include <Standard_ShortReal.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Prs2d_AspectRoot_HeaderFile
#include <Prs2d_AspectRoot.hxx>
#endif


//! defines the attributes when drawing a hiding text <br>
class Prs2d_AspectHidingText : public Prs2d_AspectRoot {

public:

  
  Standard_EXPORT   Prs2d_AspectHidingText(const Quantity_NameOfColor ColorInd,const Quantity_NameOfColor HidingColorInd,const Quantity_NameOfColor FrameColorInd,const Aspect_WidthOfLine FrameWidthInd,const Aspect_TypeOfFont FontInd,const Standard_ShortReal aSlantInd,const Standard_ShortReal aHScaleInd,const Standard_ShortReal aWScaleInd,const Standard_Boolean isUnderlined);
  
  Standard_EXPORT     void SetColorOfText(const Quantity_NameOfColor aColorInd) ;
  
  Standard_EXPORT     void SetHidingColorOfText(const Quantity_NameOfColor aHidColorInd) ;
  
  Standard_EXPORT     void SetFrameColorOfText(const Quantity_NameOfColor aFrameColorInd) ;
  
  Standard_EXPORT     void SetFrameWidthOfText(const Aspect_WidthOfLine aFrameWidthInd) ;
  
  Standard_EXPORT     void SetFontOfText(const Aspect_TypeOfFont aFontInd) ;
  
  Standard_EXPORT     void SetSlant(const Standard_ShortReal aSlantInd) ;
  
  Standard_EXPORT     void SetHScale(const Standard_ShortReal aHScaleInd) ;
  
  Standard_EXPORT     void SetWScale(const Standard_ShortReal aWScaleInd) ;
  
  Standard_EXPORT     void SetUnderlined(const Standard_Boolean anIsUnderline) ;
  
  Standard_EXPORT     void Values(Quantity_NameOfColor& ColorInd,Quantity_NameOfColor& HidingColorInd,Quantity_NameOfColor& FrameColorInd,Aspect_WidthOfLine& FrameWidthInd,Aspect_TypeOfFont& FontInd,Standard_ShortReal& aSlantInd,Standard_ShortReal& aHScaleInd,Standard_ShortReal& aWScaleInd,Standard_Boolean& isUnderlined) const;




  DEFINE_STANDARD_RTTI(Prs2d_AspectHidingText)

protected:




private: 


Aspect_TypeOfFont myFontInd;
Quantity_NameOfColor myColorInd;
Quantity_NameOfColor HidingColorInd;
Quantity_NameOfColor FrameColorInd;
Aspect_WidthOfLine FrameWidthInd;
Standard_ShortReal mySlantInd;
Standard_ShortReal myHScaleInd;
Standard_ShortReal myWScaleInd;
Standard_Boolean myIsUnderlined;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif