26 #ifndef __vtkFreeTypeStringToImage_h
27 #define __vtkFreeTypeStringToImage_h
29 #include "vtkRenderingFreeTypeModule.h"
30 #include "vtkStringToImage.h"
31 #include "vtkSmartPointer.h"
37 virtual void PrintSelf(ostream &os, vtkIndent indent);
51 virtual vtkVector2i GetBounds(vtkTextProperty *property,
52 const vtkUnicodeString&
string);
53 virtual vtkVector2i GetBounds(vtkTextProperty *property,
54 const vtkStdString&
string);
64 virtual int RenderString(vtkTextProperty *property,
65 const vtkUnicodeString&
string,
67 int textDims[2] = NULL);
68 virtual int RenderString(vtkTextProperty *property,
69 const vtkStdString&
string,
71 int textDims[2] = NULL);
76 virtual void SetScaleToPowerOfTwo(
bool scale);
93 #endif //__vtkFreeTypeStringToImage_h
uses Qt to render the supplied text to an image.
Internals * Implementation