VTK  9.7.1
vtkScaledTextActor.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkScaledTextActor_h
15 #define vtkScaledTextActor_h
16 
17 #include "vtkDeprecation.h" // For deprecation macro
18 #include "vtkRenderingFreeTypeModule.h" // For export macro
19 #include "vtkTextActor.h"
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class VTK_DEPRECATED_IN_9_6_0("Please use vtkTextActor with SetTextScaleModeToProp() instead.")
23  VTKRENDERINGFREETYPE_EXPORT vtkScaledTextActor : public vtkTextActor
24 {
25 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
33  static vtkScaledTextActor* New();
34 
35 protected:
37 
38 private:
39  vtkScaledTextActor(const vtkScaledTextActor&) = delete;
40  void operator=(const vtkScaledTextActor&) = delete;
41 };
42 
43 VTK_ABI_NAMESPACE_END
44 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
An actor that displays text.
Definition: vtkTextActor.h:48
#define VTK_DEPRECATED_IN_9_6_0(reason)
a simple class to control print indentation
Definition: vtkIndent.h:28
static vtkTextActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8, 0.95).
create text that will scale as needed