7fd59977 |
1 | #include <StepVisual_TextStyle.ixx> |
2 | |
3 | |
4 | StepVisual_TextStyle::StepVisual_TextStyle () {} |
5 | |
6 | void StepVisual_TextStyle::Init( |
7 | const Handle(TCollection_HAsciiString)& aName, |
8 | const Handle(StepVisual_TextStyleForDefinedFont)& aCharacterAppearance) |
9 | { |
10 | // --- classe own fields --- |
11 | name = aName; |
12 | characterAppearance = aCharacterAppearance; |
13 | } |
14 | |
15 | |
16 | void StepVisual_TextStyle::SetName(const Handle(TCollection_HAsciiString)& aName) |
17 | { |
18 | name = aName; |
19 | } |
20 | |
21 | Handle(TCollection_HAsciiString) StepVisual_TextStyle::Name() const |
22 | { |
23 | return name; |
24 | } |
25 | |
26 | void StepVisual_TextStyle::SetCharacterAppearance(const Handle(StepVisual_TextStyleForDefinedFont)& aCharacterAppearance) |
27 | { |
28 | characterAppearance = aCharacterAppearance; |
29 | } |
30 | |
31 | Handle(StepVisual_TextStyleForDefinedFont) StepVisual_TextStyle::CharacterAppearance() const |
32 | { |
33 | return characterAppearance; |
34 | } |