Go to the documentation of this file.
27 #ifndef vtkFreeTypeStringToImage_h
28 #define vtkFreeTypeStringToImage_h
30 #include "vtkRenderingFreeTypeModule.h"
73 int textDims[2] = NULL);
77 int textDims[2] = NULL);
103 #endif //vtkFreeTypeStringToImage_h
static vtkFreeTypeStringToImage * New()
virtual void PrintSelf(ostream &os, vtkIndent indent)
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)
Given a text property and a string, this function initializes the vtkImageData *data and renders it i...
base class for classes that render supplied text to an image.
~vtkFreeTypeStringToImage()
Internals * Implementation
topologically and geometrically regular array of data
a simple class to control print indentation
String class that stores Unicode text.
virtual vtkVector2i GetBounds(vtkTextProperty *property, const vtkStdString &string, int dpi)
virtual vtkVector2i GetBounds(vtkTextProperty *property, const vtkUnicodeString &string, int dpi)
Given a text property and a string, get the bounding box [xmin, xmax] x [ymin, ymax].
represent text properties.
vtkFreeTypeStringToImage()
virtual int RenderString(vtkTextProperty *property, const vtkStdString &string, int dpi, vtkImageData *data, int textDims[2]=NULL)
Some derived classes for the different vectors commonly used.
Wrapper around std::string to keep symbols short.
void DeepCopy(vtkFreeTypeStringToImage *utility)
Make a deep copy of the supplied utility class.
uses Qt to render the supplied text to an image.
virtual void SetScaleToPowerOfTwo(bool scale)
Should we produce images at powers of 2, makes rendering on old OpenGL hardware easier.