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.
void ReleaseGraphicsResources(vtkWindow *window) override
Release any graphics resources that are being consumed by this strategy.
bool SupportsRotation() override
The free type render strategy currently does not support rotation.
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label, int width) override
void ComputeLabelBounds(vtkTextProperty *tprop, vtkUnicodeString label, double bds[4]) override
Renders labels with freetype.
window superclass for vtkRenderWindow
vtkTextRenderer * TextRenderer
a simple class to control print indentation
String class that stores Unicode text.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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
static vtkFreeTypeLabelRenderStrategy * New()
Interface for generating images and path data from string data, using multiple backends.
~vtkFreeTypeLabelRenderStrategy() override
vtkFreeTypeLabelRenderStrategy()
Wrapper around std::string to keep symbols short.
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label) override
bool SupportsBoundedSize() override
The free type render strategy currently does not support bounded size labels.