23 #ifndef vtkLabelRenderStrategy_h
24 #define vtkLabelRenderStrategy_h
26 #include "vtkRenderingLabelModule.h"
105 { this->RenderLabel(x, tprop, label); }
Wrapper around std::string to keep symbols short.
Superclass for label rendering implementations.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkUnicodeString label, int vtkNotUsed(maxWidth))
abstract specification for renderers
virtual bool SupportsRotation()
Whether the text rendering strategy supports rotation.
virtual void ComputeLabelBounds(vtkTextProperty *tprop, vtkStdString label, double bds[4])
Compute the bounds of a label.
window superclass for vtkRenderWindow
static vtkUnicodeString from_utf8(const char *)
Constructs a string from a null-terminated sequence of UTF-8 encoded characters.
a simple class to control print indentation
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this strategy.
vtkTextProperty * DefaultTextProperty
virtual void EndFrame()
End a rendering frame.
represent text properties.
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label, int maxWidth)
virtual bool SupportsBoundedSize()
Whether the text rendering strategy supports bounded size.
virtual void RenderLabel(int x[2], vtkTextProperty *tprop, vtkStdString label)
Render a label at a location in display coordinates.
virtual void StartFrame()
Start a rendering frame.
String class that stores Unicode text.