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.
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
Renders labels with freetype.
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label) override
Render a label at a location in world coordinates.
bool SupportsBoundedSize() override
The free type render strategy currently does not support bounded size labels.
a simple class to control print indentation
void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4]) override
Compute the bounds of a label.
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this strategy.
represent text properties.
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label, int width) override
Interface for generating images and path data from string data, using multiple backends.
bool SupportsRotation() override
The free type render strategy currently does not support rotation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int width) override
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.