summaryrefslogtreecommitdiff
path: root/src/StepVisual/StepVisual_TextStyle.cxx
blob: 9412d6ef89dfab2bc83cd05d9984ede410af13ec (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
#include <StepVisual_TextStyle.ixx>


StepVisual_TextStyle::StepVisual_TextStyle ()  {}

void StepVisual_TextStyle::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepVisual_TextStyleForDefinedFont)& aCharacterAppearance)
{
	// --- classe own fields ---
	name = aName;
	characterAppearance = aCharacterAppearance;
}


void StepVisual_TextStyle::SetName(const Handle(TCollection_HAsciiString)& aName)
{
	name = aName;
}

Handle(TCollection_HAsciiString) StepVisual_TextStyle::Name() const
{
	return name;
}

void StepVisual_TextStyle::SetCharacterAppearance(const Handle(StepVisual_TextStyleForDefinedFont)& aCharacterAppearance)
{
	characterAppearance = aCharacterAppearance;
}

Handle(StepVisual_TextStyleForDefinedFont) StepVisual_TextStyle::CharacterAppearance() const
{
	return characterAppearance;
}