------------------------------------------------------------------------------
| 403 | |
| 404 | //------------------------------------------------------------------------------ |
| 405 | void vtkTextActor::ShallowCopy(vtkProp* prop) |
| 406 | { |
| 407 | vtkTextActor* a = vtkTextActor::SafeDownCast(prop); |
| 408 | if (a != nullptr) |
| 409 | { |
| 410 | this->SetPosition2(a->GetPosition2()); |
| 411 | this->SetMinimumSize(a->GetMinimumSize()); |
| 412 | this->SetMaximumLineHeight(a->GetMaximumLineHeight()); |
| 413 | this->SetTextScaleMode(a->GetTextScaleMode()); |
| 414 | this->SetTextProperty(a->GetTextProperty()); |
| 415 | this->SetInput(a->GetInput()); |
| 416 | } |
| 417 | // Now do superclass (mapper is handled by it as well). |
| 418 | this->Superclass::ShallowCopy(prop); |
| 419 | } |
| 420 | |
| 421 | //------------------------------------------------------------------------------ |
| 422 | // Release any graphics resources that are being consumed by this actor. |
no test coverage detected