Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_TextStyle.cxx
CommitLineData
7fd59977 1#include <StepVisual_TextStyle.ixx>
2
3
4StepVisual_TextStyle::StepVisual_TextStyle () {}
5
6void 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
16void StepVisual_TextStyle::SetName(const Handle(TCollection_HAsciiString)& aName)
17{
18 name = aName;
19}
20
21Handle(TCollection_HAsciiString) StepVisual_TextStyle::Name() const
22{
23 return name;
24}
25
26void StepVisual_TextStyle::SetCharacterAppearance(const Handle(StepVisual_TextStyleForDefinedFont)& aCharacterAppearance)
27{
28 characterAppearance = aCharacterAppearance;
29}
30
31Handle(StepVisual_TextStyleForDefinedFont) StepVisual_TextStyle::CharacterAppearance() const
32{
33 return characterAppearance;
34}