24#ifndef vtkFreeTypeLabelRenderStrategy_h
25#define vtkFreeTypeLabelRenderStrategy_h
28#include "vtkRenderingLabelModule.h"
56 this->Superclass::ComputeLabelBounds(tprop, label, bds);
66 this->Superclass::RenderLabel(x, tprop, label);
70 this->Superclass::RenderLabel(x, tprop, label, width);
73 using Superclass::RenderLabel;
a actor that draws 2D data
Renders labels with freetype.
bool SupportsBoundedSize() override
The free type render strategy currently does not support bounded size labels.
bool SupportsRotation() override
The free type render strategy currently does not support rotation.
vtkFreeTypeLabelRenderStrategy()
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int width) override
static vtkFreeTypeLabelRenderStrategy * New()
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label) override
void ReleaseGraphicsResources(vtkWindow *window) override
Release any graphics resources that are being consumed by this strategy.
~vtkFreeTypeLabelRenderStrategy() override
vtkTextRenderer * TextRenderer
void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label) override
Render a label at a location in world coordinates.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ComputeLabelBounds(vtkTextProperty *tprop, vtkUnicodeString label, double bds[4]) override
void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4]) override
Compute the bounds of a label.
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