------------------------------------------------------------------------------
| 58 | |
| 59 | //------------------------------------------------------------------------------ |
| 60 | void 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 | //------------------------------------------------------------------------------ |
| 104 | void vtkTextProperty::GetShadowColor(double color[3]) |
nothing calls this directly
no test coverage detected