mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-12 01:50:22 +08:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
34
src/StepVisual/StepVisual_TextStyle.cxx
Executable file
34
src/StepVisual/StepVisual_TextStyle.cxx
Executable file
@@ -0,0 +1,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;
|
||||
}
|
||||
Reference in New Issue
Block a user