MCPcopy Create free account
hub / github.com/Kitware/VTK / ShallowCopy

Method ShallowCopy

Rendering/Core/vtkTextProperty.cxx:60–101  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

58
59//------------------------------------------------------------------------------
60void vtkTextProperty::ShallowCopy(vtkTextProperty* tprop)
61{
62 if (!tprop)
63 {
64 return;
65 }
66
67 this->SetColor(tprop->GetColor());
68 this->SetOpacity(tprop->GetOpacity());
69
70 this->SetBackgroundColor(tprop->GetBackgroundColor());
71 this->SetBackgroundOpacity(tprop->GetBackgroundOpacity());
72
73 this->SetFrame(tprop->GetFrame());
74 this->SetFrameWidth(tprop->GetFrameWidth());
75 this->SetFrameColor(tprop->GetFrameColor());
76
77 this->SetFontFamilyAsString(tprop->GetFontFamilyAsString());
78 this->SetFontFile(tprop->GetFontFile());
79 this->SetFontSize(tprop->GetFontSize());
80
81 this->SetBold(tprop->GetBold());
82 this->SetItalic(tprop->GetItalic());
83 this->SetShadow(tprop->GetShadow());
84
85 this->SetOrientation(tprop->GetOrientation());
86
87 this->SetJustification(tprop->GetJustification());
88 this->SetVerticalJustification(tprop->GetVerticalJustification());
89
90 this->SetUseTightBoundingBox(tprop->GetUseTightBoundingBox());
91
92 this->SetLineOffset(tprop->GetLineOffset());
93 this->SetLineSpacing(tprop->GetLineSpacing());
94 this->SetCellOffset(tprop->GetCellOffset());
95
96 this->SetShadowOffset(tprop->GetShadowOffset());
97
98 this->SetInteriorLinesVisibility(tprop->GetInteriorLinesVisibility());
99 this->SetInteriorLinesWidth(tprop->GetInteriorLinesWidth());
100 this->SetInteriorLinesColor(tprop->GetInteriorLinesColor());
101}
102
103//------------------------------------------------------------------------------
104void vtkTextProperty::GetShadowColor(double color[3])

Callers

nothing calls this directly

Calls 9

SetFontSizeMethod · 0.80
SetColorMethod · 0.45
GetColorMethod · 0.45
SetOpacityMethod · 0.45
GetOpacityMethod · 0.45
SetBackgroundColorMethod · 0.45
GetBackgroundColorMethod · 0.45
SetOrientationMethod · 0.45
GetOrientationMethod · 0.45

Tested by

no test coverage detected