Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_CompositeTextWithExtent.cxx
CommitLineData
7fd59977 1#include <StepVisual_CompositeTextWithExtent.ixx>
2
3
4StepVisual_CompositeTextWithExtent::StepVisual_CompositeTextWithExtent () {}
5
6void StepVisual_CompositeTextWithExtent::Init(
7 const Handle(TCollection_HAsciiString)& aName,
8 const Handle(StepVisual_HArray1OfTextOrCharacter)& aCollectedText)
9{
10
11 StepVisual_CompositeText::Init(aName, aCollectedText);
12}
13
14void StepVisual_CompositeTextWithExtent::Init(
15 const Handle(TCollection_HAsciiString)& aName,
16 const Handle(StepVisual_HArray1OfTextOrCharacter)& aCollectedText,
17 const Handle(StepVisual_PlanarExtent)& aExtent)
18{
19 // --- classe own fields ---
20 extent = aExtent;
21 // --- classe inherited fields ---
22 StepVisual_CompositeText::Init(aName, aCollectedText);
23}
24
25
26void StepVisual_CompositeTextWithExtent::SetExtent(const Handle(StepVisual_PlanarExtent)& aExtent)
27{
28 extent = aExtent;
29}
30
31Handle(StepVisual_PlanarExtent) StepVisual_CompositeTextWithExtent::Extent() const
32{
33 return extent;
34}