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