24 #ifndef vtkFreeTypeLabelRenderStrategy_h
25 #define vtkFreeTypeLabelRenderStrategy_h
27 #include "vtkRenderingLabelModule.h"
57 { this->Superclass::ComputeLabelBounds(tprop, label, bds); }
65 { this->Superclass::RenderLabel(x, tprop, label); }
67 { this->Superclass::RenderLabel(x, tprop, label, width); }
70 { this->Superclass::RenderLabel(x, tprop, label, width); }
Wrapper around std::string to keep symbols short.
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int width)
Superclass for label rendering implementations.
a actor that draws 2D data
vtkTextRenderer * TextRenderer
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4])
Compute the bounds of a label.
window superclass for vtkRenderWindow
virtual bool SupportsBoundedSize()
The free type render strategy currently does not support bounded size labels.
Renders labels with freetype.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this strategy.
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4])
Compute the bounds of a label.
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label, int width)
virtual bool SupportsRotation()
The free type render strategy currently does not support rotation.
represent text properties.
Interface for generating images and path data from string data, using multiple backends.
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label)
Render a label at a location in world coordinates.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label)
Render a label at a location in display coordinates.
String class that stores Unicode text.