blob: 5e12ea4c14fe4e9d25ce1bdc5274e9d5339cfe93 (
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
|
#include <StepVisual_CurveStyle.ixx>
StepVisual_CurveStyle::StepVisual_CurveStyle () {}
void StepVisual_CurveStyle::Init(
const Handle(TCollection_HAsciiString)& aName,
const StepVisual_CurveStyleFontSelect& aCurveFont,
const StepBasic_SizeSelect& aCurveWidth,
const Handle(StepVisual_Colour)& aCurveColour)
{
// --- classe own fields ---
name = aName;
curveFont = aCurveFont;
curveWidth = aCurveWidth;
curveColour = aCurveColour;
}
void StepVisual_CurveStyle::SetName(const Handle(TCollection_HAsciiString)& aName)
{
name = aName;
}
Handle(TCollection_HAsciiString) StepVisual_CurveStyle::Name() const
{
return name;
}
void StepVisual_CurveStyle::SetCurveFont(const StepVisual_CurveStyleFontSelect& aCurveFont)
{
curveFont = aCurveFont;
}
StepVisual_CurveStyleFontSelect StepVisual_CurveStyle::CurveFont() const
{
return curveFont;
}
void StepVisual_CurveStyle::SetCurveWidth(const StepBasic_SizeSelect& aCurveWidth)
{
curveWidth = aCurveWidth;
}
StepBasic_SizeSelect StepVisual_CurveStyle::CurveWidth() const
{
return curveWidth;
}
void StepVisual_CurveStyle::SetCurveColour(const Handle(StepVisual_Colour)& aCurveColour)
{
curveColour = aCurveColour;
}
Handle(StepVisual_Colour) StepVisual_CurveStyle::CurveColour() const
{
return curveColour;
}
|