22 #ifndef vtkTextRendererStringToImage_h
23 #define vtkTextRendererStringToImage_h
25 #include "vtkRenderingFreeTypeModule.h"
53 int dpi) VTK_OVERRIDE;
56 int dpi) VTK_OVERRIDE;
71 int textDims[2] = NULL) VTK_OVERRIDE;
76 int textDims[2] = NULL) VTK_OVERRIDE;
83 void SetScaleToPowerOfTwo(
bool scale) VTK_OVERRIDE;
92 ~vtkTextRendererStringToImage() VTK_OVERRIDE;
95 Internals* Implementation;
98 vtkTextRendererStringToImage(const vtkTextRendererStringToImage &) VTK_DELETE_FUNCTION;
99 void operator=(const vtkTextRendererStringToImage &) VTK_DELETE_FUNCTION;
102 #endif //vtkTextRendererStringToImage_h
Wrapper around std::string to keep symbols short.
base class for classes that render supplied text to an image.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RenderString(vtkTextProperty *property, const vtkUnicodeString &string, int dpi, vtkImageData *data, int textDims[2]=NULL)=0
Given a text property and a string, this function initializes the vtkImageData *data and renders it i...
a simple class to control print indentation
topologically and geometrically regular array of data
uses vtkTextRenderer to render the supplied text to an image.
Some derived classes for the different vectors commonly used.
represent text properties.
virtual vtkVector2i GetBounds(vtkTextProperty *property, const vtkUnicodeString &string, int dpi)=0
Given a text property and a string, get the bounding box [xmin, xmax] x [ymin, ymax].
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
String class that stores Unicode text.