Go to the documentation of this file.
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); }
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int width) override
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label) override
Render a label at a location in world coordinates.
bool SupportsRotation() override
The free type render strategy currently does not support rotation.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
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, vtkUnicodeString label, int width) override
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label)
Render a label at a location in display coordinates.
Renders labels with freetype.
window superclass for vtkRenderWindow
vtkTextRenderer * TextRenderer
a simple class to control print indentation
String class that stores Unicode text.
void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4]) override
Compute the bounds of a label.
Superclass for label rendering implementations.
represent text properties.
a actor that draws 2D data
Interface for generating images and path data from string data, using multiple backends.
Wrapper around std::string to keep symbols short.
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4])
Compute the bounds of a label.
bool SupportsBoundedSize() override
The free type render strategy currently does not support bounded size labels.
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this strategy.