VTK
|
Default implementation of vtkTextRenderer. More...
#include <vtkMathTextFreeTypeTextRenderer.h>
Default implementation of vtkTextRenderer.
Default implementation of vtkTextRenderer using vtkFreeTypeTools and vtkMathTextUtilities.
Definition at line 39 of file vtkMathTextFreeTypeTextRenderer.h.
Reimplemented from vtkTextRenderer.
Definition at line 43 of file vtkMathTextFreeTypeTextRenderer.h.
vtkMathTextFreeTypeTextRenderer::vtkMathTextFreeTypeTextRenderer | ( | ) | [protected] |
static int vtkMathTextFreeTypeTextRenderer::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTextRenderer.
virtual int vtkMathTextFreeTypeTextRenderer::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkTextRenderer.
static vtkMathTextFreeTypeTextRenderer* vtkMathTextFreeTypeTextRenderer::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkTextRenderer.
virtual vtkObjectBase* vtkMathTextFreeTypeTextRenderer::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkTextRenderer.
Reimplemented from vtkTextRenderer.
void vtkMathTextFreeTypeTextRenderer::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkTextRenderer.
static vtkMathTextFreeTypeTextRenderer* vtkMathTextFreeTypeTextRenderer::New | ( | ) | [static] |
This is a singleton pattern New. There will be only ONE reference to a vtkTextRenderer subclass object per process. Clients that call this method must use Delete() on the object so that reference counting will work. The single instance will be unreferenced when the program exits. You should just use the static GetInstance() method anyway to get the singleton. This method may return NULL if the object factory cannot find an override.
Reimplemented from vtkTextRenderer.
bool vtkMathTextFreeTypeTextRenderer::GetBoundingBoxInternal | ( | vtkTextProperty * | tprop, |
const vtkStdString & | str, | ||
int | bbox[4], | ||
int | dpi, | ||
int | backend | ||
) | [protected, virtual] |
Reimplemented from vtkTextRenderer.
Implements vtkTextRenderer.
bool vtkMathTextFreeTypeTextRenderer::GetBoundingBoxInternal | ( | vtkTextProperty * | tprop, |
const vtkUnicodeString & | str, | ||
int | bbox[4], | ||
int | dpi, | ||
int | backend | ||
) | [protected, virtual] |
Reimplemented from vtkTextRenderer.
Implements vtkTextRenderer.
bool vtkMathTextFreeTypeTextRenderer::RenderStringInternal | ( | vtkTextProperty * | tprop, |
const vtkStdString & | str, | ||
vtkImageData * | data, | ||
int | textDims[2], | ||
int | dpi, | ||
int | backend | ||
) | [protected, virtual] |
Reimplemented from vtkTextRenderer.
Implements vtkTextRenderer.
bool vtkMathTextFreeTypeTextRenderer::RenderStringInternal | ( | vtkTextProperty * | tprop, |
const vtkUnicodeString & | str, | ||
vtkImageData * | data, | ||
int | textDims[2], | ||
int | dpi, | ||
int | backend | ||
) | [protected, virtual] |
Reimplemented from vtkTextRenderer.
Implements vtkTextRenderer.
int vtkMathTextFreeTypeTextRenderer::GetConstrainedFontSizeInternal | ( | const vtkStdString & | str, |
vtkTextProperty * | tprop, | ||
int | targetWidth, | ||
int | targetHeight, | ||
int | dpi, | ||
int | backend | ||
) | [protected, virtual] |
Reimplemented from vtkTextRenderer.
Implements vtkTextRenderer.
int vtkMathTextFreeTypeTextRenderer::GetConstrainedFontSizeInternal | ( | const vtkUnicodeString & | str, |
vtkTextProperty * | tprop, | ||
int | targetWidth, | ||
int | targetHeight, | ||
int | dpi, | ||
int | backend | ||
) | [protected, virtual] |
Reimplemented from vtkTextRenderer.
Implements vtkTextRenderer.
bool vtkMathTextFreeTypeTextRenderer::StringToPathInternal | ( | vtkTextProperty * | tprop, |
const vtkStdString & | str, | ||
vtkPath * | path, | ||
int | backend | ||
) | [protected, virtual] |
Reimplemented from vtkTextRenderer.
Implements vtkTextRenderer.
bool vtkMathTextFreeTypeTextRenderer::StringToPathInternal | ( | vtkTextProperty * | tprop, |
const vtkUnicodeString & | str, | ||
vtkPath * | path, | ||
int | backend | ||
) | [protected, virtual] |
Reimplemented from vtkTextRenderer.
Implements vtkTextRenderer.
void vtkMathTextFreeTypeTextRenderer::SetScaleToPowerOfTwoInternal | ( | bool | scale | ) | [protected, virtual] |
Reimplemented from vtkTextRenderer.
Implements vtkTextRenderer.