VTK  9.7.20261203
vtkAnariOverlays::TextRenderer Class Reference

#include <vtkAnariOverlayCanvas.h>

Detailed Description

Definition at line 135 of file vtkAnariOverlayCanvas.h.

Public Member Functions

 TextRenderer (const DrawContext &context)
GlyphRun Layout (std::string_view text, const TextStyle &style) const
GlyphRun LayoutAtSize (std::string_view text, const TextStyle &style, float pixelSize) const
float GetDPIScale () const

Constructor & Destructor Documentation

◆ TextRenderer()

vtkAnariOverlays::TextRenderer::TextRenderer ( const DrawContext & context)
inlineexplicit

Definition at line 138 of file vtkAnariOverlayCanvas.h.

Member Function Documentation

◆ Layout()

GlyphRun vtkAnariOverlays::TextRenderer::Layout ( std::string_view text,
const TextStyle & style ) const

◆ LayoutAtSize()

GlyphRun vtkAnariOverlays::TextRenderer::LayoutAtSize ( std::string_view text,
const TextStyle & style,
float pixelSize ) const

◆ GetDPIScale()

float vtkAnariOverlays::TextRenderer::GetDPIScale ( ) const
inline

Definition at line 149 of file vtkAnariOverlayCanvas.h.


The documentation for this class was generated from the following file: